On Wed, May 9, 2012 at 10:36 AM, Mike Frysinger <vapier@xxxxxxxxxx> wrote: > Signed-off-by: Mike Frysinger <vapier@xxxxxxxxxx> Thanks Mike! Applied. Cheers, Michael > --- > man2/getcpu.2 | 9 +++++++++ > 1 file changed, 9 insertions(+) > > diff --git a/man2/getcpu.2 b/man2/getcpu.2 > index 03e724a..a9d0793 100644 > --- a/man2/getcpu.2 > +++ b/man2/getcpu.2 > @@ -48,6 +48,15 @@ The caller must be prepared to handle the situation when > and > .I node > are no longer the current CPU and node. > +.SH "RETURN VALUE" > +On success, 0 is returned. > +On error, \-1 is returned, and > +.I errno > +is set appropriately. > +.SH ERRORS > +.TP > +.B EFAULT > +Arguments point outside the calling process's address space. > .SH VERSIONS > .BR getcpu () > was added in kernel 2.6.19 for x86_64 and i386. > -- > 1.7.9.7 > -- Michael Kerrisk Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/ Author of "The Linux Programming Interface"; http://man7.org/tlpi/ -- To unsubscribe from this list: send the line "unsubscribe linux-man" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html