mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
SF bug 990749: os constants missing
A LaTeX comment identified the 6 os.O_XXX constants the docs claimed are available on Windows but aren't. The bug report listed the same 6. Split these non-Windows constants into a different table with a possibly correct "Availability:" claim.
This commit is contained in:
parent
58ed69b402
commit
de8332171a
1 changed files with 10 additions and 7 deletions
|
@ -586,20 +586,23 @@ The following data items are available for use in constructing the
|
|||
\begin{datadesc}{O_RDONLY}
|
||||
\dataline{O_WRONLY}
|
||||
\dataline{O_RDWR}
|
||||
\dataline{O_NDELAY}
|
||||
\dataline{O_NONBLOCK}
|
||||
\dataline{O_APPEND}
|
||||
\dataline{O_DSYNC}
|
||||
\dataline{O_RSYNC}
|
||||
\dataline{O_SYNC}
|
||||
\dataline{O_NOCTTY}
|
||||
\dataline{O_CREAT}
|
||||
\dataline{O_EXCL}
|
||||
\dataline{O_TRUNC}
|
||||
Options for the \var{flag} argument to the \function{open()} function.
|
||||
These can be bit-wise OR'd together.
|
||||
Availability: Macintosh, \UNIX, Windows.
|
||||
% XXX O_NDELAY, O_NONBLOCK, O_DSYNC, O_RSYNC, O_SYNC, O_NOCTTY are not on Windows.
|
||||
\end{datadesc}
|
||||
|
||||
begin{datadesc}{O_DSYNC}
|
||||
\dataline{O_RSYNC}
|
||||
\dataline{O_SYNC}
|
||||
\dataline{O_NDELAY}
|
||||
\dataline{O_NONBLOCK}
|
||||
\dataline{O_NOCTTY}
|
||||
More options for the \var{flag} argument to the \function{open()} function.
|
||||
Availability: Macintosh, \UNIX.
|
||||
\end{datadesc}
|
||||
|
||||
\begin{datadesc}{O_BINARY}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue