mirror of
https://github.com/python/cpython.git
synced 2024-11-24 18:34:43 +08:00
Constants for [f]statvfs() (new in posixmodule.c) by Steve Clift.
This commit is contained in:
parent
f98e2a787e
commit
2386d7333f
20
Lib/statvfs.py
Normal file
20
Lib/statvfs.py
Normal file
@ -0,0 +1,20 @@
|
||||
# Module 'statvfs'
|
||||
#
|
||||
# Defines constants for interpreting statvfs struct as returned
|
||||
# by os.statvfs() and os.fstatvfs() (if they exist).
|
||||
#
|
||||
|
||||
# Indices for statvfs struct members in tuple returned by
|
||||
# os.statvfs() and os.fstatvfs()
|
||||
|
||||
F_BSIZE = 0
|
||||
F_FRSIZE = 1
|
||||
F_BLOCKS = 2
|
||||
F_BFREE = 3
|
||||
F_BAVAIL = 4
|
||||
F_FILES = 5
|
||||
F_FFREE = 6
|
||||
F_FAVAIL = 7
|
||||
F_FSID = 8
|
||||
F_FLAG = 9
|
||||
F_NAMEMAX = 10
|
Loading…
Reference in New Issue
Block a user