mirror of https://github.com/mkerrisk/man-pages
ffix
This commit is contained in:
parent
863b571e68
commit
a325cc6045
21
man2/wait.2
21
man2/wait.2
|
@ -136,7 +136,7 @@ value of
|
||||||
The value of
|
The value of
|
||||||
.I options
|
.I options
|
||||||
is an OR of zero or more of the following constants:
|
is an OR of zero or more of the following constants:
|
||||||
.TP
|
.TP 12
|
||||||
.B WNOHANG
|
.B WNOHANG
|
||||||
return immediately if no child has exited.
|
return immediately if no child has exited.
|
||||||
.TP
|
.TP
|
||||||
|
@ -263,7 +263,7 @@ is ignored.
|
||||||
The child state changes to wait for are specified by ORing
|
The child state changes to wait for are specified by ORing
|
||||||
one or more of the following flags in
|
one or more of the following flags in
|
||||||
.IR options :
|
.IR options :
|
||||||
.TP
|
.TP 12
|
||||||
.B WEXITED
|
.B WEXITED
|
||||||
Wait for children that have terminated.
|
Wait for children that have terminated.
|
||||||
.TP
|
.TP
|
||||||
|
@ -277,7 +277,7 @@ resumed by delivery of
|
||||||
.PP
|
.PP
|
||||||
The following flags may additionally be ORed in
|
The following flags may additionally be ORed in
|
||||||
.IR options :
|
.IR options :
|
||||||
.TP
|
.TP 12
|
||||||
.B WNOHANG
|
.B WNOHANG
|
||||||
As for
|
As for
|
||||||
.BR waitpid ().
|
.BR waitpid ().
|
||||||
|
@ -292,15 +292,19 @@ fills in the following fields of the
|
||||||
.I siginfo_t
|
.I siginfo_t
|
||||||
structure pointed to by
|
structure pointed to by
|
||||||
.IR infop :
|
.IR infop :
|
||||||
.IP \fIsi_pid\fP
|
.TP 12
|
||||||
|
\fIsi_pid\fP
|
||||||
The process ID of the child.
|
The process ID of the child.
|
||||||
.IP \fIsi_uid\fP
|
.TP
|
||||||
|
\fIsi_uid\fP
|
||||||
The real user ID of the child.
|
The real user ID of the child.
|
||||||
(This field is not set on most other implementations.)
|
(This field is not set on most other implementations.)
|
||||||
.IP \fIsi_signo\fP
|
.TP
|
||||||
|
\fIsi_signo\fP
|
||||||
Always set to
|
Always set to
|
||||||
.BR SIGCHLD .
|
.BR SIGCHLD .
|
||||||
.IP \fIsi_status\fP
|
.TP
|
||||||
|
\fIsi_status\fP
|
||||||
Either the exit status of the child, as given to
|
Either the exit status of the child, as given to
|
||||||
.BR _exit (2)
|
.BR _exit (2)
|
||||||
(or
|
(or
|
||||||
|
@ -309,7 +313,8 @@ or the signal that caused the child to terminate, stop, or continue.
|
||||||
The
|
The
|
||||||
.I si_code
|
.I si_code
|
||||||
field can be used to determine how to interpret this field.
|
field can be used to determine how to interpret this field.
|
||||||
.IP \fIsi_code\fP
|
.TP
|
||||||
|
\fIsi_code\fP
|
||||||
Set to one of:
|
Set to one of:
|
||||||
.B CLD_EXITED
|
.B CLD_EXITED
|
||||||
(child called
|
(child called
|
||||||
|
|
Loading…
Reference in New Issue