summaryrefslogtreecommitdiff
path: root/pod
diff options
context:
space:
mode:
authorJan-Pieter Cornet <johnpc@xs4all.nl>2001-12-07 13:44:56 +0100
committerJarkko Hietaniemi <jhi@iki.fi>2001-12-07 14:40:58 +0000
commit6506d41e37a08a736224b707fc0f70b63fb8e740 (patch)
tree23551376a3fb8c15b71f06cc2cb49f6dd4bcf425 /pod
parentbb0105320973d4c665ab151568f694ba52c75dee (diff)
downloadperl-6506d41e37a08a736224b707fc0f70b63fb8e740.tar.gz
[ID 20011207.001] documentation bug for waitpid
Message-Id: <200112071144.MAA12790@pc.xs4all.nl> p4raw-id: //depot/perl@13511
Diffstat (limited to 'pod')
-rw-r--r--pod/perlfunc.pod2
1 files changed, 1 insertions, 1 deletions
diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod
index 2b20a4b63c..6d79b7a37c 100644
--- a/pod/perlfunc.pod
+++ b/pod/perlfunc.pod
@@ -6152,7 +6152,7 @@ The status is returned in C<$?>. If you say
#...
do {
$kid = waitpid(-1, WNOHANG);
- } until $kid == -1;
+ } until $kid > 0;
then you can do a non-blocking wait for all pending zombie processes.
Non-blocking wait is available on machines supporting either the