summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Doc/lib/libposix.tex7
-rw-r--r--Doc/libposix.tex7
2 files changed, 12 insertions, 2 deletions
diff --git a/Doc/lib/libposix.tex b/Doc/lib/libposix.tex
index ae041c4..fa0b42d 100644
--- a/Doc/lib/libposix.tex
+++ b/Doc/lib/libposix.tex
@@ -52,7 +52,7 @@ corresponding string, as would be printed by the C function
\code{perror()}.
\end{excdesc}
-It defines the following functions:
+It defines the following functions and constants:
\renewcommand{\indexsubitem}{(in module posix)}
\begin{funcdesc}{chdir}{path}
@@ -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
its \code{write()} method.
\end{funcdesc}
+
+\begin{datadesc}{WNOHANG}
+The option for \code{waitpid()} to avoid hanging if no child process
+status is available immediately.
+\end{datadesc}
diff --git a/Doc/libposix.tex b/Doc/libposix.tex
index ae041c4..fa0b42d 100644
--- a/Doc/libposix.tex
+++ b/Doc/libposix.tex
@@ -52,7 +52,7 @@ corresponding string, as would be printed by the C function
\code{perror()}.
\end{excdesc}
-It defines the following functions:
+It defines the following functions and constants:
\renewcommand{\indexsubitem}{(in module posix)}
\begin{funcdesc}{chdir}{path}
@@ -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
its \code{write()} method.
\end{funcdesc}
+
+\begin{datadesc}{WNOHANG}
+The option for \code{waitpid()} to avoid hanging if no child process
+status is available immediately.
+\end{datadesc}