mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
Add mdoc bits for the new waitpid() WCONTINUED option, and
WIFCONTINUED macro.
This commit is contained in:
parent
6ee093fb8f
commit
9c85a5ca25
1 changed files with 12 additions and 0 deletions
|
|
@ -106,6 +106,12 @@ parameter is defined below. The
|
|||
.Fa options
|
||||
parameter contains the bitwise OR of any of the following options.
|
||||
The
|
||||
.Dv WCONTINUED
|
||||
option indicates that children of the current process that
|
||||
have continued from a job control stop, by receiving a
|
||||
.Dv SIGCONT
|
||||
signal, should also have their status reported.
|
||||
The
|
||||
.Dv WNOHANG
|
||||
option
|
||||
is used to indicate that the call should not block if
|
||||
|
|
@ -155,6 +161,12 @@ value of -1.
|
|||
The following macros may be used to test the manner of exit of the process.
|
||||
One of the first three macros will evaluate to a non-zero (true) value:
|
||||
.Bl -tag -width Ds
|
||||
.It Fn WIFCONTINUED status
|
||||
True if the process has not terminated, and
|
||||
has continued after a job control stop.
|
||||
This macro can be true only if the wait call specified the
|
||||
.Dv WCONTINUED
|
||||
option).
|
||||
.It Fn WIFEXITED status
|
||||
True if the process terminated normally by a call to
|
||||
.Xr _exit 2
|
||||
|
|
|
|||
Loading…
Reference in a new issue