Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 15 additions & 15 deletions Doc/library/os.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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*.


.. 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
SF_MNOWAIT
SF_SYNC
Expand All @@ -1544,6 +1529,21 @@ or `the MSDN <https://msdn.microsoft.com/en-us/library/z0kc8e3z.aspx>`_ on Windo
.. 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)

Transfer *count* bytes from file descriptor *src*, starting from offset
Expand Down