Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4bbe9c0

Browse files
committed
added WNOHANG
1 parent d45c156 commit 4bbe9c0

2 files changed

Lines changed: 12 additions & 2 deletions

File tree

Doc/lib/libposix.tex

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ \section{Built-in Module \sectcode{posix}}
5252
\code{perror()}.
5353
\end{excdesc}
5454

55-
It defines the following functions:
55+
It defines the following functions and constants:
5656

5757
\renewcommand{\indexsubitem}{(in module posix)}
5858
\begin{funcdesc}{chdir}{path}
@@ -355,3 +355,8 @@ \section{Built-in Module \sectcode{posix}}
355355
\code{posix.fdopen}, or \code{sys.stdout} or \code{sys.stderr}, use
356356
its \code{write()} method.
357357
\end{funcdesc}
358+
359+
\begin{datadesc}{WNOHANG}
360+
The option for \code{waitpid()} to avoid hanging if no child process
361+
status is available immediately.
362+
\end{datadesc}

Doc/libposix.tex

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ \section{Built-in Module \sectcode{posix}}
5252
\code{perror()}.
5353
\end{excdesc}
5454

55-
It defines the following functions:
55+
It defines the following functions and constants:
5656

5757
\renewcommand{\indexsubitem}{(in module posix)}
5858
\begin{funcdesc}{chdir}{path}
@@ -355,3 +355,8 @@ \section{Built-in Module \sectcode{posix}}
355355
\code{posix.fdopen}, or \code{sys.stdout} or \code{sys.stderr}, use
356356
its \code{write()} method.
357357
\end{funcdesc}
358+
359+
\begin{datadesc}{WNOHANG}
360+
The option for \code{waitpid()} to avoid hanging if no child process
361+
status is available immediately.
362+
\end{datadesc}

0 commit comments

Comments
 (0)