svn commit: r255358 - head/lib/libc/sys

Jilles Tjoelker jilles at FreeBSD.org
Sat Sep 7 11:41:53 UTC 2013


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


More information about the svn-src-head mailing list