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.214
1 files changed, 8 insertions, 6 deletions
diff --git a/lib/libc/sys/wait.2 b/lib/libc/sys/wait.2
index c0077b1..d348361 100644
--- a/lib/libc/sys/wait.2
+++ b/lib/libc/sys/wait.2
@@ -156,7 +156,7 @@ One of the first three macros will evaluate to a non-zero (true) value:
True if the process terminated normally by a call to
.Xr _exit 2
or
-.Xr exit 2 .
+.Xr exit 3 .
.It Fn WIFSIGNALED status
True if the process terminated due to receipt of a signal.
.It Fn WIFSTOPPED status
@@ -178,7 +178,7 @@ is true, evaluates to the low-order 8 bits
of the argument passed to
.Xr _exit 2
or
-.Xr exit 2
+.Xr exit 3
by the child.
.It Fn WTERMSIG status
If
@@ -287,9 +287,11 @@ and the ability to restart a pending
.Fn wait
call are extensions to the POSIX interface.
.Sh SEE ALSO
-.Xr exit 2 ,
-.Xr sigaction 2
+.Xr _exit 2 ,
+.Xr sigaction 2 ,
+.Xr exit 3
.Sh HISTORY
A
-.Nm
-function call appeared in Version 6 AT&T UNIX.
+.Fn wait
+function call appeared in
+.At v6 .
OpenPOWER on IntegriCloud