Issue #4426: The UTF-7 decoder was too strict and didn't accept some legal sequences.
[python.git] / Doc / library / statvfs.rst
blob25355bcbafead53351792e3447d2870b2e98469b
1 :mod:`statvfs` --- Constants used with :func:`os.statvfs`
2 =========================================================
4 .. module:: statvfs
5    :synopsis: Constants for interpreting the result of os.statvfs().
6    :deprecated:
8 .. deprecated:: 2.6
9    The :mod:`statvfs` module has been deprecated for removal in Python 3.0.
12 .. sectionauthor:: Moshe Zadka <moshez@zadka.site.co.il>
15 The :mod:`statvfs` module defines constants so interpreting the result if
16 :func:`os.statvfs`, which returns a tuple, can be made without remembering
17 "magic numbers."  Each of the constants defined in this module is the *index* of
18 the entry in the tuple returned by :func:`os.statvfs` that contains the
19 specified information.
22 .. data:: F_BSIZE
24    Preferred file system block size.
27 .. data:: F_FRSIZE
29    Fundamental file system block size.
32 .. data:: F_BLOCKS
34    Total number of blocks in the filesystem.
37 .. data:: F_BFREE
39    Total number of free blocks.
42 .. data:: F_BAVAIL
44    Free blocks available to non-super user.
47 .. data:: F_FILES
49    Total number of file nodes.
52 .. data:: F_FFREE
54    Total number of free file nodes.
57 .. data:: F_FAVAIL
59    Free nodes available to non-super user.
62 .. data:: F_FLAG
64    Flags. System dependent: see :cfunc:`statvfs` man page.
67 .. data:: F_NAMEMAX
69    Maximum file name length.