summaryrefslogtreecommitdiffstats
path: root/Doc/libposix.tex
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1994-02-15 15:59:23 (GMT)
committerGuido van Rossum <guido@python.org>1994-02-15 15:59:23 (GMT)
commitc5c67bc367e0106ca94b9fb5bcfeb3e4b2fa7310 (patch)
treee1bffea5969016a12b833f4b7a9cbae7e23b78ae /Doc/libposix.tex
parent3ed23cc158f6609742229a7d912ace5533595a86 (diff)
downloadcpython-c5c67bc367e0106ca94b9fb5bcfeb3e4b2fa7310.zip
cpython-c5c67bc367e0106ca94b9fb5bcfeb3e4b2fa7310.tar.gz
cpython-c5c67bc367e0106ca94b9fb5bcfeb3e4b2fa7310.tar.bz2
At release 1.0.1. Scripts, Makefile, README: cosmetic changes and
streamlined procedure; tut.tex: fixes by Tim Peters; libposix.tex: added posix.fdopen; ext.tex: typos
Diffstat (limited to 'Doc/libposix.tex')
-rw-r--r--Doc/libposix.tex7
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/libposix.tex b/Doc/libposix.tex
index 737ddb1..c22f1e0 100644
--- a/Doc/libposix.tex
+++ b/Doc/libposix.tex
@@ -89,6 +89,13 @@ Note: the standard way to exit is \code{sys.exit(\var{n})}.
after a \code{fork()}.
\end{funcdesc}
+\begin{funcdesc}{fdopen}{fd\, mode}
+Return an open file object connected to the file descriptor \var{fd},
+open for reading and/or writing according to the \var{mode} string
+(which has the same meaning as the \var{mode} argument to the built-in
+\code{open()} function.
+\end{funcdesc}
+
\begin{funcdesc}{fork}{}
Fork a child process. Return 0 in the child, the child's process id
in the parent.