summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libstat.tex
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-01-29 22:03:41 (GMT)
committerGuido van Rossum <guido@python.org>1998-01-29 22:03:41 (GMT)
commitc45c2f3dc1a2cca5f0254a0ef34f7bc16d1bfbf1 (patch)
treebd86ffcd636c18916b523bf5482957dc9bf5f3d7 /Doc/lib/libstat.tex
parentc9aef03af486b32bc191e719e2979f4fedab2281 (diff)
downloadcpython-c45c2f3dc1a2cca5f0254a0ef34f7bc16d1bfbf1.zip
cpython-c45c2f3dc1a2cca5f0254a0ef34f7bc16d1bfbf1.tar.gz
cpython-c45c2f3dc1a2cca5f0254a0ef34f7bc16d1bfbf1.tar.bz2
Add S_ISBLK().
Diffstat (limited to 'Doc/lib/libstat.tex')
-rw-r--r--Doc/lib/libstat.tex6
1 files changed, 5 insertions, 1 deletions
diff --git a/Doc/lib/libstat.tex b/Doc/lib/libstat.tex
index a1d8a78..3856723 100644
--- a/Doc/lib/libstat.tex
+++ b/Doc/lib/libstat.tex
@@ -14,13 +14,17 @@ The \code{stat} module defines the following functions:
\renewcommand{\indexsubitem}{(in module stat)}
\begin{funcdesc}{S_ISDIR}{mode}
-Return non-zero if the mode was gotten from a directory file.
+Return non-zero if the mode was gotten from a directory.
\end{funcdesc}
\begin{funcdesc}{S_ISCHR}{mode}
Return non-zero if the mode was gotten from a character special device.
\end{funcdesc}
+\begin{funcdesc}{S_ISBLK}{mode}
+Return non-zero if the mode was gotten from a block special device.
+\end{funcdesc}
+
\begin{funcdesc}{S_ISREG}{mode}
Return non-zero if the mode was gotten from a regular file.
\end{funcdesc}