Date: Sat, 7 Sep 2013 11:41:52 +0000 (UTC) From: Jilles Tjoelker <jilles@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r255358 - head/lib/libc/sys Message-ID: <201309071141.r87BfqSQ026967@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jilles Date: Sat Sep 7 11:41:52 2013 New Revision: 255358 URL: http://svnweb.freebsd.org/changeset/base/255358 Log: wait(2): Add some possible caveats to standards section. Modified: head/lib/libc/sys/wait.2 Modified: head/lib/libc/sys/wait.2 ============================================================================== --- head/lib/libc/sys/wait.2 Sat Sep 7 11:02:38 2013 (r255357) +++ head/lib/libc/sys/wait.2 Sat Sep 7 11:41:52 2013 (r255358) @@ -28,7 +28,7 @@ .\" @(#)wait.2 8.2 (Berkeley) 4/19/94 .\" $FreeBSD$ .\" -.Dd November 10, 2012 +.Dd September 7, 2013 .Dt WAIT 2 .Os .Sh NAME @@ -604,9 +604,23 @@ are not specified by POSIX. The .Fn WCOREDUMP macro -and the ability to restart a pending -.Fn wait -call are extensions to the POSIX interface. +is an extension to the POSIX interface. +.Pp +The ability to use the +.Dv WNOWAIT +flag with +.Fn waitpid +is an extension; +.Tn POSIX +only permits this flag with +.Fn waitid . +.Pp +.Tn POSIX +requires +.Fn waitid +to return the full 32 bits passed to +.Xr _exit 2 ; +this implementation only returns 8 bits like in the other calls. .Sh HISTORY The .Fn wait
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309071141.r87BfqSQ026967>