]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Bug [ 1190563 ] os.waitpid docs don't specify return value for WNOHANG
authorGeorg Brandl <georg@python.org>
Sat, 25 Jun 2005 19:55:04 +0000 (19:55 +0000)
committerGeorg Brandl <georg@python.org>
Sat, 25 Jun 2005 19:55:04 +0000 (19:55 +0000)
Doc/lib/libos.tex

index 7611e5b627320927826abd0c29396a2450fb3b65..6bf22d8149fc3c64ef14b01771ff1d9e0d64b84e 100644 (file)
@@ -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}