From: Georg Brandl Date: Sat, 25 Jun 2005 19:55:37 +0000 (+0000) Subject: backport [ 1190563 ] os.waitpid docs don't specify return value for WNOHANG X-Git-Tag: v2.4.2c1~170 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=453bc2850fd4767f8e39433aba52989c19e3de3c;p=thirdparty%2FPython%2Fcpython.git backport [ 1190563 ] os.waitpid docs don't specify return value for WNOHANG --- diff --git a/Doc/lib/libos.tex b/Doc/lib/libos.tex index 5ac099e97980..338476370a7f 100644 --- a/Doc/lib/libos.tex +++ b/Doc/lib/libos.tex @@ -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}