]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Added strerror()
authorGuido van Rossum <guido@python.org>
Sun, 5 Oct 1997 18:54:52 +0000 (18:54 +0000)
committerGuido van Rossum <guido@python.org>
Sun, 5 Oct 1997 18:54:52 +0000 (18:54 +0000)
Doc/lib/libposix.tex
Doc/libposix.tex

index a32953dfbd8c214e39a5d950f2681db63dba68bc..df933c530d958b53c8f3dd9789efec575ca5fdef 100644 (file)
@@ -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.
index a32953dfbd8c214e39a5d950f2681db63dba68bc..df933c530d958b53c8f3dd9789efec575ca5fdef 100644 (file)
@@ -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.