From 03dbb4f50dec0b51eddddec2b445c1b6ba8935f3 Mon Sep 17 00:00:00 2001
From: Georg Brandl <georg@python.org>
Date: Sat, 25 Jun 2005 19:55:04 +0000
Subject: Bug [ 1190563 ] os.waitpid docs don't specify return value for
 WNOHANG

---
 Doc/lib/libos.tex | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/Doc/lib/libos.tex b/Doc/lib/libos.tex
index 7611e5b..6bf22d8 100644
--- a/Doc/lib/libos.tex
+++ b/Doc/lib/libos.tex
@@ -1680,8 +1680,9 @@ return suitable process handles.
 \end{funcdesc}
 
 \begin{datadesc}{WNOHANG}
-The option for \function{waitpid()} to avoid hanging if no child
-process status is available immediately.
+The option for \function{waitpid()} to return immediately if no child
+process status is available immediately. The function returns
+\code{(0, 0)} in this case.
 Availability: Macintosh, \UNIX.
 \end{datadesc}
 
-- 
cgit v0.12

