Commit ba54b35c authored by Guido van Rossum's avatar Guido van Rossum

added WNOHANG

parent f08f0331
...@@ -52,7 +52,7 @@ corresponding string, as would be printed by the C function ...@@ -52,7 +52,7 @@ corresponding string, as would be printed by the C function
\code{perror()}. \code{perror()}.
\end{excdesc} \end{excdesc}
It defines the following functions: It defines the following functions and constants:
\renewcommand{\indexsubitem}{(in module posix)} \renewcommand{\indexsubitem}{(in module posix)}
\begin{funcdesc}{chdir}{path} \begin{funcdesc}{chdir}{path}
...@@ -355,3 +355,8 @@ built-in function \code{open} or by \code{posix.popen} or ...@@ -355,3 +355,8 @@ built-in function \code{open} or by \code{posix.popen} or
\code{posix.fdopen}, or \code{sys.stdout} or \code{sys.stderr}, use \code{posix.fdopen}, or \code{sys.stdout} or \code{sys.stderr}, use
its \code{write()} method. its \code{write()} method.
\end{funcdesc} \end{funcdesc}
\begin{datadesc}{WNOHANG}
The option for \code{waitpid()} to avoid hanging if no child process
status is available immediately.
\end{datadesc}
...@@ -52,7 +52,7 @@ corresponding string, as would be printed by the C function ...@@ -52,7 +52,7 @@ corresponding string, as would be printed by the C function
\code{perror()}. \code{perror()}.
\end{excdesc} \end{excdesc}
It defines the following functions: It defines the following functions and constants:
\renewcommand{\indexsubitem}{(in module posix)} \renewcommand{\indexsubitem}{(in module posix)}
\begin{funcdesc}{chdir}{path} \begin{funcdesc}{chdir}{path}
...@@ -355,3 +355,8 @@ built-in function \code{open} or by \code{posix.popen} or ...@@ -355,3 +355,8 @@ built-in function \code{open} or by \code{posix.popen} or
\code{posix.fdopen}, or \code{sys.stdout} or \code{sys.stderr}, use \code{posix.fdopen}, or \code{sys.stdout} or \code{sys.stderr}, use
its \code{write()} method. its \code{write()} method.
\end{funcdesc} \end{funcdesc}
\begin{datadesc}{WNOHANG}
The option for \code{waitpid()} to avoid hanging if no child process
status is available immediately.
\end{datadesc}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment