#include <gwenhywfar/bufferedio.h>
Go to the source code of this file.
Functions | |
GWENHYWFAR_API GWEN_BUFFEREDIO * | GWEN_BufferedIO_File_new (int fd) |
GWENHYWFAR_API GWEN_BUFFEREDIO* GWEN_BufferedIO_File_new | ( | int | fd | ) |
Create a buffered IO context using an already open file. This file will automatically be closed upon GWEN_BufferedIO_Close (unless it is stdin, stdout or stderr). This context can be free'd using GWEN_BufferedIO_free.
Definition at line 161 of file bio_file.c.
References GWEN_BufferedIO_File__Close(), GWEN_BufferedIO_File__Read(), GWEN_BufferedIO_File__Write(), GWEN_BufferedIO_File_FreeData(), GWEN_BufferedIO_File_Table__new(), GWEN_BufferedIO_new(), GWEN_BufferedIO_SetCloseFn(), GWEN_BufferedIO_SetReadFn(), GWEN_BufferedIO_SetTimeout(), GWEN_BufferedIO_SetWriteFn(), and GWEN_INHERIT_SETDATA.