summaryrefslogtreecommitdiffstats
path: root/lib/libc/sys/wait.2
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/sys/wait.2')
-rw-r--r--lib/libc/sys/wait.212
1 files changed, 10 insertions, 2 deletions
diff --git a/lib/libc/sys/wait.2 b/lib/libc/sys/wait.2
index f4dfe9d..c492cd6 100644
--- a/lib/libc/sys/wait.2
+++ b/lib/libc/sys/wait.2
@@ -99,6 +99,7 @@ equals the absolute value of
The
.Fa status
argument is defined below.
+.Pp
The
.Fa options
argument contains the bitwise OR of any of the following options.
@@ -121,8 +122,15 @@ due to a
.Dv SIGTTIN , SIGTTOU , SIGTSTP ,
or
.Dv SIGSTOP
-signal also have
-their status reported.
+signal also have their status reported.
+The
+.Dv WSTOPPED
+option is an alias for
+.Dv WUNTRACED .
+The
+.Dv WNOWAIT
+option keeps the process whose status is returned in a waitable state.
+The process may be waited for again after this call completes.
.Pp
If
.Fa rusage
OpenPOWER on IntegriCloud