]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Add new constants usable with os.popen() on Windows.
authorTim Peters <tim.peters@gmail.com>
Wed, 30 Jan 2002 05:49:46 +0000 (05:49 +0000)
committerTim Peters <tim.peters@gmail.com>
Wed, 30 Jan 2002 05:49:46 +0000 (05:49 +0000)
NOTE:  this seems a mess wrt which symbols are available on which
platforms.  I can't fix it, but I didn't add to it <wink>, and
included an XXX comment about names claimed to be available on
Windows that aren't.  If anyone can figure out the whole ugly truth,
I'm sure a better organization will suggest itself.

Doc/lib/libos.tex

index 9493c202cc5adf1f69bb93116d5bd908ba15d340..51f00273eff037d3178873193801fdbcab735652 100644 (file)
@@ -531,6 +531,7 @@ The following data items are available for use in constructing the
 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_BINARY}
@@ -540,6 +541,16 @@ Availability: Macintosh, Windows.
 % XXX need to check on the availability of this one.
 \end{datadesc}
 
+\begin{datadesc}{O_NOINHERIT}
+\dataline{O_SHORT_LIVED}
+\dataline{O_TEMPORARY}
+\dataline{O_RANDOM}
+\dataline{O_SEQUENTIAL}
+\dataline{O_TEXT}
+Options for the \var{flag} argument to the \function{open()} function.
+These can be bit-wise OR'd together.
+Availability: Windows.
+\end{datadesc}
 
 \subsection{Files and Directories \label{os-file-dir}}