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

index 5ac099e97980d831081a43a3511232fb16452b53..338476370a7ff9f8676dcf5a34d26a3b21f6d48f 100644 (file)
@@ -1657,8 +1657,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}