- PyFile_AsFile
FILE* PyFile_AsFile(PyObject* )
- PyFile_Check
int PyFile_Check(PyObject* op)
- PyFile_CheckExact
int PyFile_CheckExact(PyObject* op)
- PyFile_DecUseCount
void PyFile_DecUseCount(PyFileObject* )
- PyFile_FromFd
PyObject* PyFile_FromFd(int , char* , char* , int , char* , char* , char* , int )
- PyFile_FromFile
PyObject* PyFile_FromFile(FILE* , char* , char* , int function(FILE*) )
- PyFile_FromString
PyObject* PyFile_FromString(char* , char* )
- PyFile_GetLine
PyObject* PyFile_GetLine(PyObject* , int )
- PyFile_IncUseCount
void PyFile_IncUseCount(PyFileObject* )
- PyFile_Name
PyObject_BorrowedRef* PyFile_Name(PyObject* )
- PyFile_NewStdPrinter
PyObject* PyFile_NewStdPrinter(int )
- PyFile_SetBufSize
void PyFile_SetBufSize(PyObject* , int )
- PyFile_SetEncoding
int PyFile_SetEncoding(PyObject* , const(char)* )
- PyFile_SetEncodingAndErrors
int PyFile_SetEncodingAndErrors(PyObject* , const(char)* , const(char)* errors)
- PyFile_SoftSpace
int PyFile_SoftSpace(PyObject* , int )
- PyFile_WriteObject
int PyFile_WriteObject(PyObject* , PyObject* , int )
- PyFile_WriteString
int PyFile_WriteString(const(char)* , PyObject* )
- PyObject_AsFileDescriptor
int PyObject_AsFileDescriptor(PyObject* )
- Py_UniversalNewlineFgets
char* Py_UniversalNewlineFgets(char* , int , FILE* , PyObject* )
- Py_UniversalNewlineFread
size_t Py_UniversalNewlineFread(char* , size_t , FILE* , PyObject* )
Routines to replace fread() and fgets() which accept any of \r, \n
or \r\n as line terminators.
Availability: 2.*
- _PyFile_SanitizeMode
int _PyFile_SanitizeMode(char* mode)
A routine to do sanity checking on the file mode string. returns
non-zero on if an exception occurred
Availability: 2.*
Mirror fileobject.h