File tree Expand file tree Collapse file tree 3 files changed +17
-0
lines changed Expand file tree Collapse file tree 3 files changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -1501,6 +1501,7 @@ or `the MSDN <https://msdn.microsoft.com/en-us/library/z0kc8e3z.aspx>`_ on Windo
15011501
15021502 - :data: `RWF_HIPRI `
15031503 - :data: `RWF_NOWAIT `
1504+ - :data: `RWF_DONTCACHE `
15041505
15051506 Return the total number of bytes actually read which can be less than the
15061507 total capacity of all the objects.
@@ -1546,6 +1547,15 @@ or `the MSDN <https://msdn.microsoft.com/en-us/library/z0kc8e3z.aspx>`_ on Windo
15461547 .. versionadded :: 3.7
15471548
15481549
1550+ .. data :: RWF_DONTCACHE
1551+
1552+ Use uncached buffered IO.
1553+
1554+ .. availability :: Linux >= 6.14
1555+
1556+ .. versionadded :: next
1557+
1558+
15491559.. function :: ptsname(fd, /)
15501560
15511561 Return the name of the slave pseudo-terminal device associated with the
@@ -1587,6 +1597,7 @@ or `the MSDN <https://msdn.microsoft.com/en-us/library/z0kc8e3z.aspx>`_ on Windo
15871597 - :data: `RWF_DSYNC `
15881598 - :data: `RWF_SYNC `
15891599 - :data: `RWF_APPEND `
1600+ - :data: `RWF_DONTCACHE `
15901601
15911602 Return the total number of bytes actually written.
15921603
Original file line number Diff line number Diff line change 1+ Add :data: `os.RWF_DONTCACHE ` constant for Linux 6.14+.
Original file line number Diff line number Diff line change @@ -11756,6 +11756,7 @@ The flags argument contains a bitwise OR of zero or more of the following flags:
1175611756
1175711757- RWF_HIPRI
1175811758- RWF_NOWAIT
11759+ - RWF_DONTCACHE
1175911760
1176011761Using non-zero flags requires Linux 4.6 or newer.
1176111762[clinic start generated code]*/
@@ -12413,6 +12414,7 @@ The flags argument contains a bitwise OR of zero or more of the following flags:
1241312414- RWF_DSYNC
1241412415- RWF_SYNC
1241512416- RWF_APPEND
12417+ - RWF_DONTCACHE
1241612418
1241712419Using non-zero flags requires Linux 4.7 or newer.
1241812420[clinic start generated code]*/
@@ -17646,6 +17648,9 @@ all_ins(PyObject *m)
1764617648#ifdef RWF_NOWAIT
1764717649 if (PyModule_AddIntConstant (m , "RWF_NOWAIT" , RWF_NOWAIT )) return -1 ;
1764817650#endif
17651+ #ifdef RWF_DONTCACHE
17652+ if (PyModule_AddIntConstant (m , "RWF_DONTCACHE" , RWF_DONTCACHE )) return -1 ;
17653+ #endif
1764917654#ifdef RWF_APPEND
1765017655 if (PyModule_AddIntConstant (m , "RWF_APPEND" , RWF_APPEND )) return -1 ;
1765117656#endif
You can’t perform that action at this time.
0 commit comments