mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Three more modules documented by Moshe!
This commit is contained in:
parent
1de2a92791
commit
4755e7d5c1
4 changed files with 197 additions and 0 deletions
51
Doc/lib/libstatvfs.tex
Normal file
51
Doc/lib/libstatvfs.tex
Normal file
|
@ -0,0 +1,51 @@
|
|||
\section{\module{statvfs} ---
|
||||
Constants used with \function{os.statvfs()}}
|
||||
|
||||
\declaremodule{standard}{statvfs}
|
||||
% LaTeX'ed from comments in module
|
||||
\sectionauthor{Moshe Zadka}{mzadka@geocities.com}
|
||||
\modulesynopsis{Constants for interpreting the result of
|
||||
\function{os.statvfs()}.}
|
||||
|
||||
The \module{statvfs} module defines constants so interpreting the result
|
||||
if \function{os.statvfs()}, which returns a tuple, can be made without
|
||||
remembering ``magic numbers.'' Each of the constants defined in this
|
||||
module is the \emph{index} of the entry in the tuple returned by
|
||||
\function{os.statvfs()} that contains the specified information.
|
||||
|
||||
|
||||
\begin{datadesc}{F_BSIZE}
|
||||
Preferred file system block size.
|
||||
\end{datadesc}
|
||||
|
||||
\begin{datadesc}{F_FRSIZE}
|
||||
Fundamental file system block size.
|
||||
\end{datadesc}
|
||||
|
||||
\begin{datadesc}{F_BFREE}
|
||||
Total number of free blocks.
|
||||
\end{datadesc}
|
||||
|
||||
\begin{datadesc}{F_BAVAIL}
|
||||
Free blocks available to non-super user.
|
||||
\end{datadesc}
|
||||
|
||||
\begin{datadesc}{F_FILES}
|
||||
Total number of file nodes.
|
||||
\end{datadesc}
|
||||
|
||||
\begin{datadesc}{F_FFREE}
|
||||
Total number of free file nodes.
|
||||
\end{datadesc}
|
||||
|
||||
\begin{datadesc}{F_FAVAIL}
|
||||
Free nodes available to non-superuser.
|
||||
\end{datadesc}
|
||||
|
||||
\begin{datadesc}{F_FLAG}
|
||||
Flags. System dependant: see \cfunction{statvfs()} man page.
|
||||
\end{datadesc}
|
||||
|
||||
\begin{datadesc}{F_NAMEMAX}
|
||||
Maximum file name length.
|
||||
\end{datadesc}
|
Loading…
Add table
Add a link
Reference in a new issue