mirror of https://github.com/python/cpython.git
Bug [ 1190563 ] os.waitpid docs don't specify return value for WNOHANG
This commit is contained in:
parent
71de040b82
commit
03dbb4f50d
|
@ -1680,8 +1680,9 @@ return suitable process handles.
|
||||||
\end{funcdesc}
|
\end{funcdesc}
|
||||||
|
|
||||||
\begin{datadesc}{WNOHANG}
|
\begin{datadesc}{WNOHANG}
|
||||||
The option for \function{waitpid()} to avoid hanging if no child
|
The option for \function{waitpid()} to return immediately if no child
|
||||||
process status is available immediately.
|
process status is available immediately. The function returns
|
||||||
|
\code{(0, 0)} in this case.
|
||||||
Availability: Macintosh, \UNIX.
|
Availability: Macintosh, \UNIX.
|
||||||
\end{datadesc}
|
\end{datadesc}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue