diff options
author | Fred Drake <fdrake@acm.org> | 1999-02-16 19:41:01 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 1999-02-16 19:41:01 (GMT) |
commit | 85a59dd68b1bd09e3f4d7a883ee59cb5ac0887f1 (patch) | |
tree | 64031aaba4539776654a6bdf0ce828f42f2b534e /Doc/lib/libmsvcrt.tex | |
parent | 9329e5ec75238c112f89b4341afeb12c684b72cc (diff) | |
download | cpython-85a59dd68b1bd09e3f4d7a883ee59cb5ac0887f1.zip cpython-85a59dd68b1bd09e3f4d7a883ee59cb5ac0887f1.tar.gz cpython-85a59dd68b1bd09e3f4d7a883ee59cb5ac0887f1.tar.bz2 |
The _O_* constants are defined as O_* in the os module.
Diffstat (limited to 'Doc/lib/libmsvcrt.tex')
-rw-r--r-- | Doc/lib/libmsvcrt.tex | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Doc/lib/libmsvcrt.tex b/Doc/lib/libmsvcrt.tex index f85be1d..481117b 100644 --- a/Doc/lib/libmsvcrt.tex +++ b/Doc/lib/libmsvcrt.tex @@ -25,16 +25,16 @@ API documentation. \begin{funcdesc}{setmode}{fd, flags} Set the line-end translation mode for the file descriptor \var{fd}. - To set it to text mode, \var{flags} should be \constant{_O_TEXT}; - for binary, it should be \constant{_O_BINARY}. + To set it to text mode, \var{flags} should be \constant{os.O_TEXT}; + for binary, it should be \constant{os.O_BINARY}. \end{funcdesc} \begin{funcdesc}{open_osfhandle}{handle, flags} Create a C runtime file descriptor from the file handle \var{handle}. The \var{flags} parameter should be a bit-wise OR of - \constant{_O_APPEND}, \constant{_O_RDONLY}, and \constant{_O_TEXT}. - The returned file descriptor may be used as a parameter to - \function{os.fdopen()} to create a file object. + \constant{os.O_APPEND}, \constant{os.O_RDONLY}, and + \constant{os.O_TEXT}. The returned file descriptor may be used as a + parameter to \function{os.fdopen()} to create a file object. \end{funcdesc} \begin{funcdesc}{get_osfhandle}{fd} |