From c45c2f3dc1a2cca5f0254a0ef34f7bc16d1bfbf1 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Thu, 29 Jan 1998 22:03:41 +0000 Subject: [PATCH] Add S_ISBLK(). --- Doc/lib/libstat.tex | 6 +++++- Doc/libstat.tex | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/Doc/lib/libstat.tex b/Doc/lib/libstat.tex index a1d8a78927c..385672350fb 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} diff --git a/Doc/libstat.tex b/Doc/libstat.tex index a1d8a78927c..385672350fb 100644 --- a/Doc/libstat.tex +++ b/Doc/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}