summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authordavidxu <davidxu@FreeBSD.org>2005-11-11 05:38:40 +0000
committerdavidxu <davidxu@FreeBSD.org>2005-11-11 05:38:40 +0000
commite470cdb287c1f2838d77560deb7da946a9aed871 (patch)
tree83359faffdfe73fb5affda307beab5c5bd11b84a /lib
parenteb109d203326d107bcc8ed1c60e7b7e0d6f84028 (diff)
downloadFreeBSD-src-e470cdb287c1f2838d77560deb7da946a9aed871.zip
FreeBSD-src-e470cdb287c1f2838d77560deb7da946a9aed871.tar.gz
Er, highlight function wait().
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/sys/wait.217
1 files changed, 10 insertions, 7 deletions
diff --git a/lib/libc/sys/wait.2 b/lib/libc/sys/wait.2
index 67508e1..b94a5fa 100644
--- a/lib/libc/sys/wait.2
+++ b/lib/libc/sys/wait.2
@@ -235,14 +235,17 @@ see
System call restart.
.Pp
The implementation queues one SIGCHLD signal for each child process whose
-status has changed, if wait() or waitpid() returns because the status of
-a child process is available, the pending SIGCHLD signal associated with
-the process ID of the child process will be discarded.
-Any other pending SIGCHLD signals remain pending.
+status has changed, if
+.Fn wait
+returns because the status of a child process is available, the pending
+SIGCHLD signal associated with the process ID of the child process will
+be discarded. Any other pending SIGCHLD signals remain pending.
.Pp
-If SIGCHLD is blocked, if wait() or waitpid() return because the
-status of a child process is available, the pending SIGCHLD signal will be
-cleared unless another status of the child process is available.
+If SIGCHLD is blocked,
+.Fn wait
+returns because the status of a child process is available, the pending
+SIGCHLD signal will be cleared unless another status of the child process
+is available.
.Sh RETURN VALUES
If
.Fn wait
OpenPOWER on IntegriCloud