summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libposix.tex
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-10-05 18:54:52 (GMT)
committerGuido van Rossum <guido@python.org>1997-10-05 18:54:52 (GMT)
commit0bfd14659473e894060e071a078486536a584afe (patch)
tree7a19875914c203cfcbbd5e777fcc04372b0ab851 /Doc/lib/libposix.tex
parentbc3b13643d6afe604455f339c29d0d9c34be35f0 (diff)
downloadcpython-0bfd14659473e894060e071a078486536a584afe.zip
cpython-0bfd14659473e894060e071a078486536a584afe.tar.gz
cpython-0bfd14659473e894060e071a078486536a584afe.tar.bz2
Added strerror()
Diffstat (limited to 'Doc/lib/libposix.tex')
-rw-r--r--Doc/lib/libposix.tex4
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/lib/libposix.tex b/Doc/lib/libposix.tex
index a32953d..df933c5 100644
--- a/Doc/lib/libposix.tex
+++ b/Doc/lib/libposix.tex
@@ -290,6 +290,10 @@ calls to \code{os.putenv()} don't update \code{os.environ}, so it is
actually preferable to assign to items of \code{os.environ}.
\end{funcdesc}
+\begin{funcdesc}{strerror}{code}
+Return the error message corresponding to the error code in \var{code}.
+\end{funcdesc}
+
\begin{funcdesc}{read}{fd\, n}
Read at most \var{n} bytes from file descriptor \var{fd}.
Return a string containing the bytes read.