diff options
author | Fred Drake <fdrake@acm.org> | 1999-06-21 18:25:49 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 1999-06-21 18:25:49 (GMT) |
commit | 4755e7d5c1eea7e4751997afaa341a4d6ac64f5e (patch) | |
tree | 999d19c5833608e0fd63838aa8fa7387da7267a4 /Doc/lib/libstatvfs.tex | |
parent | 1de2a92791998d5a495aa3f8072086d67663c2bc (diff) | |
download | cpython-4755e7d5c1eea7e4751997afaa341a4d6ac64f5e.zip cpython-4755e7d5c1eea7e4751997afaa341a4d6ac64f5e.tar.gz cpython-4755e7d5c1eea7e4751997afaa341a4d6ac64f5e.tar.bz2 |
Three more modules documented by Moshe!
Diffstat (limited to 'Doc/lib/libstatvfs.tex')
-rw-r--r-- | Doc/lib/libstatvfs.tex | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/Doc/lib/libstatvfs.tex b/Doc/lib/libstatvfs.tex new file mode 100644 index 0000000..e71ad72 --- /dev/null +++ b/Doc/lib/libstatvfs.tex @@ -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} |