diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2015-11-13 08:14:26 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2015-11-13 08:14:26 (GMT) |
commit | b129007f1c2e4ed1cf3b724189282052a2bba83a (patch) | |
tree | d8ad4d09bee4a2ffbe6230d96ea9617eba60c8f2 | |
parent | fbc741c729bb6abe344662f75ebe80b4251b2217 (diff) | |
parent | 33be3e3d5b52762ba6706df6bd98f2e341a8d9ba (diff) | |
download | cpython-b129007f1c2e4ed1cf3b724189282052a2bba83a.zip cpython-b129007f1c2e4ed1cf3b724189282052a2bba83a.tar.gz cpython-b129007f1c2e4ed1cf3b724189282052a2bba83a.tar.bz2 |
Merge 3.5 (issue #25605)
-rw-r--r-- | Doc/library/fcntl.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/library/fcntl.rst b/Doc/library/fcntl.rst index e0d184f..f8bb834 100644 --- a/Doc/library/fcntl.rst +++ b/Doc/library/fcntl.rst @@ -83,6 +83,8 @@ The module defines the following functions: buffer 1024 bytes long which is then passed to :func:`ioctl` and copied back into the supplied buffer. + If the :c:func:`ioctl` fails, an :exc:`IOError` exception is raised. + An example:: >>> import array, fcntl, struct, termios, os @@ -104,6 +106,8 @@ The module defines the following functions: :manpage:`flock(2)` for details. (On some systems, this function is emulated using :c:func:`fcntl`.) + If the :c:func:`flock` fails, an :exc:`IOError` exception is raised. + .. function:: lockf(fd, cmd, len=0, start=0, whence=0) |