diff options
author | Dong-hee Na <donghee.na92@gmail.com> | 2019-10-28 07:31:15 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2019-10-28 07:31:15 (GMT) |
commit | 3bfc8e0fcc707d200c267ff05b052fd6a63c985a (patch) | |
tree | adc7e753effdeba3575aab6ffad8adc43e5dcde0 /Doc/library | |
parent | 85c6f8c65cd4f7219522c1f304bdfff19f785e7a (diff) | |
download | cpython-3bfc8e0fcc707d200c267ff05b052fd6a63c985a.zip cpython-3bfc8e0fcc707d200c267ff05b052fd6a63c985a.tar.gz cpython-3bfc8e0fcc707d200c267ff05b052fd6a63c985a.tar.bz2 |
bpo-38602: Add fcntl.F_OFD_XXXX for fcntlmodule (GH-16956)
Diffstat (limited to 'Doc/library')
-rw-r--r-- | Doc/library/fcntl.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Doc/library/fcntl.rst b/Doc/library/fcntl.rst index da39c31..5c172b8 100644 --- a/Doc/library/fcntl.rst +++ b/Doc/library/fcntl.rst @@ -36,6 +36,8 @@ descriptor. .. versionchanged:: 3.9 On macOS, the fcntl module exposes the ``F_GETPATH`` constant, which obtains the path of a file from a file descriptor. + On Linux(>=3.15), the fcntl module exposes the ``F_OFD_GETLK``, ``F_OFD_SETLK`` + and ``F_OFD_SETLKW`` constants, which working with open file description locks. The module defines the following functions: |