Definition in file bufio.c.
Go to the source code of this file.
Functions | |
BUFIO * | Bopen_internal (int fd, const char *path, const char *dir) |
BUFIO * | Bfdopen (int fd, const char *dir) |
BUFIO * | Bopen (const char *path, const char *dir) |
bool | readbuf (BUFIO *b) |
bool | writebuf (BUFIO *b) |
int | Bgetc (BUFIO *b) |
bool | Bputc (BUFIO *b, int c) |
bool | Bclose (BUFIO *b) |
bool | Bgets (BUFIO *b, char *s, size_t smax) |
void | Bsettimeout (BUFIO *b, struct timeval *timeout) |
|
Definition at line 165 of file bufio.c. References close(), BUFIO::dir, EC_CLEANUP_BGN, EC_CLEANUP_END, ec_false, ec_neg1, BUFIO::fd, BUFIO::fdopen, and writebuf(). Referenced by copy3(), and test_Bfdopen(). |
|
Definition at line 55 of file bufio.c. References Bopen_internal(). Referenced by test_Bfdopen(). |
|
Definition at line 138 of file bufio.c. References BUFIO::buf, EC_CLEANUP_BGN, EC_CLEANUP_END, EC_FAIL, errno, BUFIO::next, readbuf(), and BUFIO::total. Referenced by Bgets(), copy3(), and test_Bfdopen(). |
|
Definition at line 185 of file bufio.c. References Bgetc(). |
|
Definition at line 89 of file bufio.c. References Bopen_internal(). Referenced by copy3(). |
|
Definition at line 23 of file bufio.c. References BUFIO::dir, EC_CLEANUP_BGN, EC_CLEANUP_END, EC_FAIL, ec_neg1, ec_null, errno, BUFIO::fd, BUFIO::fdopen, open(), and PERM_FILE. |
|
Definition at line 153 of file bufio.c. References BUFIO::buf, EC_CLEANUP_BGN, EC_CLEANUP_END, ec_false, BUFIO::next, and writebuf(). Referenced by copy3(). |
|
Definition at line 207 of file bufio.c. References BUFIO::timeout. |
|
Definition at line 95 of file bufio.c. References BUFIO::buf, EC_CLEANUP_BGN, EC_CLEANUP_END, ec_neg1, errno, BUFIO::fd, FD_ISSET(), FD_SET(), FD_ZERO(), BUFIO::next, read(), select(), set(), BUFIO::timeout, BUFIO::total, timeval::tv_sec, and timeval::tv_usec. Referenced by Bgetc(). |
|
Definition at line 121 of file bufio.c. References BUFIO::buf, EC_CLEANUP_BGN, EC_CLEANUP_END, ec_neg1, BUFIO::fd, BUFIO::next, and write(). |