diff options
-rw-r--r-- | pod/perlfunc.pod | 2 |
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 |