From 117df0a4040e1ca32204660f9bc770e29d95ea8f Mon Sep 17 00:00:00 2001 From: mike Date: Sat, 1 Jun 2002 18:38:58 +0000 Subject: Add mdoc bits for the new waitpid() WCONTINUED option, and WIFCONTINUED macro. --- lib/libc/sys/wait.2 | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'lib/libc') 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 -- cgit v1.1