Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 85a59dd

Browse files
committed
The _O_* constants are defined as O_* in the os module.
1 parent 9329e5e commit 85a59dd

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

Doc/lib/libmsvcrt.tex

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,16 @@ \subsection{File Operations \label{msvcrt-files}}
2525

2626
\begin{funcdesc}{setmode}{fd, flags}
2727
Set the line-end translation mode for the file descriptor \var{fd}.
28-
To set it to text mode, \var{flags} should be \constant{_O_TEXT};
29-
for binary, it should be \constant{_O_BINARY}.
28+
To set it to text mode, \var{flags} should be \constant{os.O_TEXT};
29+
for binary, it should be \constant{os.O_BINARY}.
3030
\end{funcdesc}
3131

3232
\begin{funcdesc}{open_osfhandle}{handle, flags}
3333
Create a C runtime file descriptor from the file handle
3434
\var{handle}. The \var{flags} parameter should be a bit-wise OR of
35-
\constant{_O_APPEND}, \constant{_O_RDONLY}, and \constant{_O_TEXT}.
36-
The returned file descriptor may be used as a parameter to
37-
\function{os.fdopen()} to create a file object.
35+
\constant{os.O_APPEND}, \constant{os.O_RDONLY}, and
36+
\constant{os.O_TEXT}. The returned file descriptor may be used as a
37+
parameter to \function{os.fdopen()} to create a file object.
3838
\end{funcdesc}
3939

4040
\begin{funcdesc}{get_osfhandle}{fd}

0 commit comments

Comments
 (0)