Lines Matching refs:TFILE
31 This library is not thread safe. You cannot share TFILE objects between
33 threads. All the state is in the TFILE object so calls to this library on
48 typedef struct tio_fileinfo TFILE;
50 /* Open a new TFILE based on the file descriptor. The timeout is set for any
52 TFILE *tio_fdopen(int fd, int readtimeout, int writetimeout,
58 int tio_read(TFILE *fp, void *buf, size_t count);
61 int tio_skip(TFILE *fp, size_t count);
64 int tio_skipall(TFILE *fp, int timeout);
67 int tio_write(TFILE *fp, const void *buf, size_t count);
70 int tio_flush(TFILE *fp);
73 int tio_close(TFILE *fp);
77 void tio_mark(TFILE *fp);
83 int tio_reset(TFILE *fp);