Skip to content

Commit b8eea4e

Browse files
committed
Fix rendering issues in the documentation for the os module
1 parent c127a86 commit b8eea4e

File tree

1 file changed

+16
-4
lines changed

1 file changed

+16
-4
lines changed

Doc/library/os.rst

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1126,18 +1126,24 @@ or `the MSDN <https://msdn.microsoft.com/en-us/library/z0kc8e3z.aspx>`_ on Windo
11261126

11271127
.. versionadded:: 3.7
11281128

1129-
.. data:: RWF_DSYNC (since Linux 4.7)
1129+
.. data:: RWF_DSYNC
1130+
11301131
Provide a per-write equivalent of the O_DSYNC open(2) flag. This flag
11311132
is meaningful only for pwritev2(), and its effect applies only to the
11321133
data range written by the system call.
11331134

1135+
Availability: Linux (version 4.7).
1136+
11341137
.. versionadded:: 3.7
11351138

1136-
.. data:: RWF_SYNC (since Linux 4.7)
1139+
.. data:: RWF_SYNC
1140+
11371141
Provide a per-write equivalent of the O_SYNC open(2) flag. This flag is
11381142
meaningful only for pwritev2(), and its effect applies only to the data
11391143
range written by the system call.
11401144

1145+
Availability: Linux (version 4.7).
1146+
11411147
.. versionadded:: 3.7
11421148

11431149

@@ -1260,23 +1266,29 @@ or `the MSDN <https://msdn.microsoft.com/en-us/library/z0kc8e3z.aspx>`_ on Windo
12601266
.. versionadded:: 3.7
12611267

12621268

1263-
.. data:: RWF_HIPRI (since Linux 4.6)
1269+
.. data:: RWF_HIPRI
1270+
12641271
High priority read/write. Allows block-based filesystems to use polling
12651272
of the device, which provides lower latency, but may use additional
12661273
resources. (Currently, this feature is usable only on a file descriptor
12671274
opened using the O_DIRECT flag.)
12681275

1276+
Availability: Linux (version 4.6).
1277+
12691278
.. versionadded:: 3.7
12701279

12711280

1272-
.. data:: RWF_NOWAIT (since Linux 4.14)
1281+
.. data:: RWF_NOWAIT
1282+
12731283
Do not wait for data which is not immediately available. If this flag
12741284
is specified, the preadv2() system call will return instantly
12751285
if it would have to read data from the backing storage or wait for a lock.
12761286
If some data was successfully read, it will return the number of bytes
12771287
read. If no bytes were read, it will return -1 and set errno to EAGAIN.
12781288
Currently, this flag is meaningful only for preadv2().
12791289

1290+
Availability: Linux (version 4.14).
1291+
12801292
.. versionadded:: 3.7
12811293

12821294

0 commit comments

Comments
 (0)