From: Guido van Rossum Date: Sun, 5 Oct 1997 18:54:52 +0000 (+0000) Subject: Added strerror() X-Git-Tag: v1.5a4~84 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0bfd14659473e894060e071a078486536a584afe;p=thirdparty%2FPython%2Fcpython.git Added strerror() --- diff --git a/Doc/lib/libposix.tex b/Doc/lib/libposix.tex index a32953dfbd8c..df933c530d95 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. diff --git a/Doc/libposix.tex b/Doc/libposix.tex index a32953dfbd8c..df933c530d95 100644 --- a/Doc/libposix.tex +++ b/Doc/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.