Kaydet (Commit) c45c2f3d authored tarafından Guido van Rossum's avatar Guido van Rossum

Add S_ISBLK().

üst c9aef03a
...@@ -14,13 +14,17 @@ The \code{stat} module defines the following functions: ...@@ -14,13 +14,17 @@ The \code{stat} module defines the following functions:
\renewcommand{\indexsubitem}{(in module stat)} \renewcommand{\indexsubitem}{(in module stat)}
\begin{funcdesc}{S_ISDIR}{mode} \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} \end{funcdesc}
\begin{funcdesc}{S_ISCHR}{mode} \begin{funcdesc}{S_ISCHR}{mode}
Return non-zero if the mode was gotten from a character special device. Return non-zero if the mode was gotten from a character special device.
\end{funcdesc} \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} \begin{funcdesc}{S_ISREG}{mode}
Return non-zero if the mode was gotten from a regular file. Return non-zero if the mode was gotten from a regular file.
\end{funcdesc} \end{funcdesc}
......
...@@ -14,13 +14,17 @@ The \code{stat} module defines the following functions: ...@@ -14,13 +14,17 @@ The \code{stat} module defines the following functions:
\renewcommand{\indexsubitem}{(in module stat)} \renewcommand{\indexsubitem}{(in module stat)}
\begin{funcdesc}{S_ISDIR}{mode} \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} \end{funcdesc}
\begin{funcdesc}{S_ISCHR}{mode} \begin{funcdesc}{S_ISCHR}{mode}
Return non-zero if the mode was gotten from a character special device. Return non-zero if the mode was gotten from a character special device.
\end{funcdesc} \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} \begin{funcdesc}{S_ISREG}{mode}
Return non-zero if the mode was gotten from a regular file. Return non-zero if the mode was gotten from a regular file.
\end{funcdesc} \end{funcdesc}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment