summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2005-06-25 19:55:04 (GMT)
committerGeorg Brandl <georg@python.org>2005-06-25 19:55:04 (GMT)
commit03dbb4f50dec0b51eddddec2b445c1b6ba8935f3 (patch)
tree9bf66e1147aa31de033f99df2ec125199f92259c
parent71de040b82362c4604d72fba15ab15f02b3d75b6 (diff)
downloadcpython-03dbb4f50dec0b51eddddec2b445c1b6ba8935f3.zip
cpython-03dbb4f50dec0b51eddddec2b445c1b6ba8935f3.tar.gz
cpython-03dbb4f50dec0b51eddddec2b445c1b6ba8935f3.tar.bz2
Bug [ 1190563 ] os.waitpid docs don't specify return value for WNOHANG
-rw-r--r--Doc/lib/libos.tex5
1 files 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}