Spaces:
Runtime error
Runtime error
| /* File object interface (what's left of it -- see io.py) */ | |
| extern "C" { | |
| PyAPI_FUNC(PyObject *) PyFile_FromFd(int, const char *, const char *, int, | |
| const char *, const char *, | |
| const char *, int); | |
| PyAPI_FUNC(PyObject *) PyFile_GetLine(PyObject *, int); | |
| PyAPI_FUNC(int) PyFile_WriteObject(PyObject *, PyObject *, int); | |
| PyAPI_FUNC(int) PyFile_WriteString(const char *, PyObject *); | |
| PyAPI_FUNC(int) PyObject_AsFileDescriptor(PyObject *); | |
| /* The default encoding used by the platform file system APIs | |
| If non-NULL, this is different than the default encoding for strings | |
| */ | |
| PyAPI_DATA(const char *) Py_FileSystemDefaultEncoding; | |
| PyAPI_DATA(const char *) Py_FileSystemDefaultEncodeErrors; | |
| PyAPI_DATA(int) Py_HasFileSystemDefaultEncoding; | |
| PyAPI_DATA(int) Py_UTF8Mode; | |
| /* A routine to check if a file descriptor can be select()-ed. */ | |
| /* On Windows, any socket fd can be select()-ed, no matter how high */ | |
| } | |