Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F103278880
D6080.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
707 B
Referenced Files
None
Subscribers
None
D6080.diff
View Options
Index: head/lib/libc/sys/wait.2
===================================================================
--- head/lib/libc/sys/wait.2
+++ head/lib/libc/sys/wait.2
@@ -28,7 +28,7 @@
.\" @(#)wait.2 8.2 (Berkeley) 4/19/94
.\" $FreeBSD$
.\"
-.Dd December 3, 2013
+.Dd June 1, 2016
.Dt WAIT 2
.Os
.Sh NAME
@@ -596,6 +596,14 @@
fields of
.Fa infop
must be checked against zero to determine if a process reported status.
+.Pp
+.Fn wait
+called with -1 to wait for any child process will ignore a child that is
+referenced by a process descriptor (see
+.Xr pdfork 2 ) .
+Specific processes can still be waited on by specifying the process ID
+or descriptor (see
+.Xr pdwait 4 ) .
.Sh ERRORS
The
.Fn wait
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 24, 12:08 AM (20 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14811663
Default Alt Text
D6080.diff (707 B)
Attached To
Mode
D6080: Document wait and process descriptor behavior.
Attached
Detach File
Event Timeline
Log In to Comment