aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMike Barcroft <mike@FreeBSD.org>2002-06-01 18:38:58 +0000
committerMike Barcroft <mike@FreeBSD.org>2002-06-01 18:38:58 +0000
commit9c85a5ca256c1a7ed853cedfe66ec89aa3179f82 (patch)
treec2747a853c386f2e489e973a38383688dfd215e9 /lib
parent6ee093fb8fe5b5617256f36f06988d458802ca69 (diff)
downloadsrc-9c85a5ca256c1a7ed853cedfe66ec89aa3179f82.tar.gz
src-9c85a5ca256c1a7ed853cedfe66ec89aa3179f82.zip
Add mdoc bits for the new waitpid() WCONTINUED option, and
WIFCONTINUED macro.
Notes
Notes: svn path=/head/; revision=97715
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/sys/wait.212
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/libc/sys/wait.2 b/lib/libc/sys/wait.2
index 74309ab4df72..ece08dd28a97 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