mirror of
https://github.com/python/cpython.git
synced 2025-09-01 14:38:00 +00:00
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> Co-authored-by: Christoph Anton Mitterer <mail@christoph.anton.mitterer.name>
This commit is contained in:
parent
50e4143f8d
commit
77356f6f96
1 changed files with 15 additions and 15 deletions
|
@ -1508,21 +1508,6 @@ or `the MSDN <https://msdn.microsoft.com/en-us/library/z0kc8e3z.aspx>`_ on Windo
|
||||||
Parameters *out* and *in* was renamed to *out_fd* and *in_fd*.
|
Parameters *out* and *in* was renamed to *out_fd* and *in_fd*.
|
||||||
|
|
||||||
|
|
||||||
.. function:: set_blocking(fd, blocking, /)
|
|
||||||
|
|
||||||
Set the blocking mode of the specified file descriptor. Set the
|
|
||||||
:data:`O_NONBLOCK` flag if blocking is ``False``, clear the flag otherwise.
|
|
||||||
|
|
||||||
See also :func:`get_blocking` and :meth:`socket.socket.setblocking`.
|
|
||||||
|
|
||||||
.. availability:: Unix.
|
|
||||||
|
|
||||||
The function is limited on Emscripten and WASI, see
|
|
||||||
:ref:`wasm-availability` for more information.
|
|
||||||
|
|
||||||
.. versionadded:: 3.5
|
|
||||||
|
|
||||||
|
|
||||||
.. data:: SF_NODISKIO
|
.. data:: SF_NODISKIO
|
||||||
SF_MNOWAIT
|
SF_MNOWAIT
|
||||||
SF_SYNC
|
SF_SYNC
|
||||||
|
@ -1544,6 +1529,21 @@ or `the MSDN <https://msdn.microsoft.com/en-us/library/z0kc8e3z.aspx>`_ on Windo
|
||||||
.. versionadded:: 3.11
|
.. versionadded:: 3.11
|
||||||
|
|
||||||
|
|
||||||
|
.. function:: set_blocking(fd, blocking, /)
|
||||||
|
|
||||||
|
Set the blocking mode of the specified file descriptor. Set the
|
||||||
|
:data:`O_NONBLOCK` flag if blocking is ``False``, clear the flag otherwise.
|
||||||
|
|
||||||
|
See also :func:`get_blocking` and :meth:`socket.socket.setblocking`.
|
||||||
|
|
||||||
|
.. availability:: Unix.
|
||||||
|
|
||||||
|
The function is limited on Emscripten and WASI, see
|
||||||
|
:ref:`wasm-availability` for more information.
|
||||||
|
|
||||||
|
.. versionadded:: 3.5
|
||||||
|
|
||||||
|
|
||||||
.. function:: splice(src, dst, count, offset_src=None, offset_dst=None)
|
.. function:: splice(src, dst, count, offset_src=None, offset_dst=None)
|
||||||
|
|
||||||
Transfer *count* bytes from file descriptor *src*, starting from offset
|
Transfer *count* bytes from file descriptor *src*, starting from offset
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue