Lines Matching refs:file
104 Lock part of a file based on file descriptor fd from the C runtime.
106 Raises OSError on failure. The locked region of the file extends from
107 the current file position for nbytes bytes, and may continue beyond
108 the end of the file. mode must be one of the LK_* constants listed
109 below. Multiple regions in a file may be locked at the same time, but
142 Set the line-end translation mode for the file descriptor fd.
170 Create a C runtime file descriptor from the file handle handle.
173 and os.O_TEXT. The returned file descriptor may be used as a parameter
174 to os.fdopen() to create a file object.
194 Return the file handle for the file descriptor fd.
398 file: HANDLE
407 msvcrt_CrtSetReportFile_impl(PyObject *module, int type, void *file)
413 res = _CrtSetReportFile(type, file);