mirror of
https://github.com/python/cpython.git
synced 2025-07-29 06:05:00 +00:00
Fix rendering issues in the documentation for the os module (#6525)
This commit is contained in:
parent
0977091dca
commit
d6ef6db9ff
1 changed files with 16 additions and 4 deletions
|
@ -1126,18 +1126,24 @@ or `the MSDN <https://msdn.microsoft.com/en-us/library/z0kc8e3z.aspx>`_ on Windo
|
||||||
|
|
||||||
.. versionadded:: 3.7
|
.. versionadded:: 3.7
|
||||||
|
|
||||||
.. data:: RWF_DSYNC (since Linux 4.7)
|
.. data:: RWF_DSYNC
|
||||||
|
|
||||||
Provide a per-write equivalent of the O_DSYNC open(2) flag. This flag
|
Provide a per-write equivalent of the O_DSYNC open(2) flag. This flag
|
||||||
is meaningful only for pwritev2(), and its effect applies only to the
|
is meaningful only for pwritev2(), and its effect applies only to the
|
||||||
data range written by the system call.
|
data range written by the system call.
|
||||||
|
|
||||||
|
Availability: Linux (version 4.7).
|
||||||
|
|
||||||
.. versionadded:: 3.7
|
.. versionadded:: 3.7
|
||||||
|
|
||||||
.. data:: RWF_SYNC (since Linux 4.7)
|
.. data:: RWF_SYNC
|
||||||
|
|
||||||
Provide a per-write equivalent of the O_SYNC open(2) flag. This flag is
|
Provide a per-write equivalent of the O_SYNC open(2) flag. This flag is
|
||||||
meaningful only for pwritev2(), and its effect applies only to the data
|
meaningful only for pwritev2(), and its effect applies only to the data
|
||||||
range written by the system call.
|
range written by the system call.
|
||||||
|
|
||||||
|
Availability: Linux (version 4.7).
|
||||||
|
|
||||||
.. versionadded:: 3.7
|
.. versionadded:: 3.7
|
||||||
|
|
||||||
|
|
||||||
|
@ -1260,16 +1266,20 @@ or `the MSDN <https://msdn.microsoft.com/en-us/library/z0kc8e3z.aspx>`_ on Windo
|
||||||
.. versionadded:: 3.7
|
.. versionadded:: 3.7
|
||||||
|
|
||||||
|
|
||||||
.. data:: RWF_HIPRI (since Linux 4.6)
|
.. data:: RWF_HIPRI
|
||||||
|
|
||||||
High priority read/write. Allows block-based filesystems to use polling
|
High priority read/write. Allows block-based filesystems to use polling
|
||||||
of the device, which provides lower latency, but may use additional
|
of the device, which provides lower latency, but may use additional
|
||||||
resources. (Currently, this feature is usable only on a file descriptor
|
resources. (Currently, this feature is usable only on a file descriptor
|
||||||
opened using the O_DIRECT flag.)
|
opened using the O_DIRECT flag.)
|
||||||
|
|
||||||
|
Availability: Linux (version 4.6).
|
||||||
|
|
||||||
.. versionadded:: 3.7
|
.. versionadded:: 3.7
|
||||||
|
|
||||||
|
|
||||||
.. data:: RWF_NOWAIT (since Linux 4.14)
|
.. data:: RWF_NOWAIT
|
||||||
|
|
||||||
Do not wait for data which is not immediately available. If this flag
|
Do not wait for data which is not immediately available. If this flag
|
||||||
is specified, the preadv2() system call will return instantly
|
is specified, the preadv2() system call will return instantly
|
||||||
if it would have to read data from the backing storage or wait for a lock.
|
if it would have to read data from the backing storage or wait for a lock.
|
||||||
|
@ -1277,6 +1287,8 @@ or `the MSDN <https://msdn.microsoft.com/en-us/library/z0kc8e3z.aspx>`_ on Windo
|
||||||
read. If no bytes were read, it will return -1 and set errno to EAGAIN.
|
read. If no bytes were read, it will return -1 and set errno to EAGAIN.
|
||||||
Currently, this flag is meaningful only for preadv2().
|
Currently, this flag is meaningful only for preadv2().
|
||||||
|
|
||||||
|
Availability: Linux (version 4.14).
|
||||||
|
|
||||||
.. versionadded:: 3.7
|
.. versionadded:: 3.7
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue