diff options
author | mike <mike@FreeBSD.org> | 2002-06-01 18:38:58 +0000 |
---|---|---|
committer | mike <mike@FreeBSD.org> | 2002-06-01 18:38:58 +0000 |
commit | 117df0a4040e1ca32204660f9bc770e29d95ea8f (patch) | |
tree | c2747a853c386f2e489e973a38383688dfd215e9 /lib/libc/sys | |
parent | 1b681bdeaabdef171893adfd1d525d5c71ee9416 (diff) | |
download | FreeBSD-src-117df0a4040e1ca32204660f9bc770e29d95ea8f.zip FreeBSD-src-117df0a4040e1ca32204660f9bc770e29d95ea8f.tar.gz |
Add mdoc bits for the new waitpid() WCONTINUED option, and
WIFCONTINUED macro.
Diffstat (limited to 'lib/libc/sys')
-rw-r--r-- | lib/libc/sys/wait.2 | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/libc/sys/wait.2 b/lib/libc/sys/wait.2 index 74309ab..ece08dd 100644 --- a/lib/libc/sys/wait.2 +++ b/lib/libc/sys/wait.2 @@ -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 |