Document behavior of wait introduced in the r286698.
Suggested by: glebius Reviewed by: wblock, bjk Differential Revision: https://reviews.freebsd.org/D6080
This commit is contained in:
parent
e6b775f48f
commit
eaf7c645b3
@ -28,7 +28,7 @@
|
|||||||
.\" @(#)wait.2 8.2 (Berkeley) 4/19/94
|
.\" @(#)wait.2 8.2 (Berkeley) 4/19/94
|
||||||
.\" $FreeBSD$
|
.\" $FreeBSD$
|
||||||
.\"
|
.\"
|
||||||
.Dd December 3, 2013
|
.Dd June 1, 2016
|
||||||
.Dt WAIT 2
|
.Dt WAIT 2
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
@ -596,6 +596,14 @@ and
|
|||||||
fields of
|
fields of
|
||||||
.Fa infop
|
.Fa infop
|
||||||
must be checked against zero to determine if a process reported status.
|
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
|
.Sh ERRORS
|
||||||
The
|
The
|
||||||
.Fn wait
|
.Fn wait
|
||||||
|
Loading…
x
Reference in New Issue
Block a user