summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorjilles <jilles@FreeBSD.org>2013-09-07 11:41:52 +0000
committerjilles <jilles@FreeBSD.org>2013-09-07 11:41:52 +0000
commiteb5a66191bbcd3ddd0b695b32e9bd837c356027d (patch)
tree3412f2a3b410cc065b017a0663cb5509225439e2 /lib
parent07738e0ff2367465532d7f649ee73f2262468f6e (diff)
downloadFreeBSD-src-eb5a66191bbcd3ddd0b695b32e9bd837c356027d.zip
FreeBSD-src-eb5a66191bbcd3ddd0b695b32e9bd837c356027d.tar.gz
wait(2): Add some possible caveats to standards section.
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/sys/wait.222
1 files changed, 18 insertions, 4 deletions
diff --git a/lib/libc/sys/wait.2 b/lib/libc/sys/wait.2
index 0c494bb..cfa78e9 100644
--- a/lib/libc/sys/wait.2
+++ b/lib/libc/sys/wait.2
@@ -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
OpenPOWER on IntegriCloud