diff options
author | doko@ubuntu.com <doko@ubuntu.com> | 2013-12-08 14:23:07 (GMT) |
---|---|---|
committer | doko@ubuntu.com <doko@ubuntu.com> | 2013-12-08 14:23:07 (GMT) |
commit | ca616a2709951f2ef8534aaa5933af4cc9d1594d (patch) | |
tree | 522dc560036ee914484e600ede95ddd17d4b32aa /Doc/library/os.rst | |
parent | b02bcae56632d2744ec24db2a1fd3a35ab363fba (diff) | |
download | cpython-ca616a2709951f2ef8534aaa5933af4cc9d1594d.zip cpython-ca616a2709951f2ef8534aaa5933af4cc9d1594d.tar.gz cpython-ca616a2709951f2ef8534aaa5933af4cc9d1594d.tar.bz2 |
- Issue #19736: Add module-level statvfs constants defined for GNU/glibc
based systems.
Diffstat (limited to 'Doc/library/os.rst')
-rw-r--r-- | Doc/library/os.rst | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Doc/library/os.rst b/Doc/library/os.rst index f5f2e16..32c1563 100644 --- a/Doc/library/os.rst +++ b/Doc/library/os.rst @@ -1980,11 +1980,26 @@ features: read-only, and if :const:`ST_NOSUID` is set, the semantics of setuid/setgid bits are disabled or not supported. + Additional module-level constants are defined for GNU/glibc based systems. + These are :const:`ST_NODEV` (disallow access to device special files), + :const:`ST_NOEXEC` (disallow program execution), :const:`ST_SYNCHRONOUS` + (writes are synced at once), :const:`ST_MANDLOCK` (allow mandatory locks on an FS), + :const:`ST_WRITE` (write on file/directory/symlink), :const:`ST_APPEND` + (append-only file), :const:`ST_IMMUTABLE` (immutable file), :const:`ST_NOATIME` + (do not update access times), :const:`ST_NODIRATIME` (do not update directory access + times), :const:`ST_RELATIME` (update atime relative to mtime/ctime). + This function can support :ref:`specifying a file descriptor <path_fd>`. .. versionchanged:: 3.2 The :const:`ST_RDONLY` and :const:`ST_NOSUID` constants were added. + .. versionchanged:: 3.4 + The :const:`ST_NODEV`, :const:`ST_NOEXEC`, :const:`ST_SYNCHRONOUS`, + :const:`ST_MANDLOCK`, :const:`ST_WRITE`, :const:`ST_APPEND`, + :const:`ST_IMMUTABLE`, :const:`ST_NOATIME`, :const:`ST_NODIRATIME`, + and :const:`ST_RELATIME` constants were added. + Availability: Unix. .. versionadded:: 3.3 |