fehQlibs 26
Qlibs
|
input/output routines More...
Go to the source code of this file.
Functions | |
void | buffer_init (buffer *s, ssize_t(*op)(), int fd, char *buf, size_t len) |
ssize_t | buffer_unixread (int fd, char *buf, size_t len) |
ssize_t | buffer_unixwrite (int fd, char *buf, size_t len) |
int | buffer_copy (buffer *bout, buffer *bin) |
int | buffer_feed (buffer *s) |
int | buffer_bget (buffer *s, char *buf, size_t len) |
int | buffer_get (buffer *s, char *buf, size_t len) |
char * | buffer_peek (buffer *s) |
void | buffer_seek (buffer *s, size_t len) |
int | buffer_flush (buffer *s) |
int | buffer_putalign (buffer *s, const char *buf, size_t len) |
int | buffer_put (buffer *s, const char *buf, size_t len) |
int | buffer_putflush (buffer *s, const char *buf, size_t len) |
int | buffer_putsalign (buffer *s, const char *buf) |
int | buffer_puts (buffer *s, const char *buf) |
int | buffer_putsflush (buffer *s, const char *buf) |
Variables | |
char | buffer_0_space [BUFFER_INSIZE] |
buffer * | buffer_0 = &it0 |
char | buffer_1_space [BUFFER_OUTSIZE] |
buffer * | buffer_1 = &it1 |
char | buffer_2_space [BUFFER_OUTSIZE] |
buffer * | buffer_2 = &it2 |
char | buffer_0_small [BUFFER_SMALL] |
buffer * | buffer_0small = &is0 |
char | buffer_1_small [BUFFER_SMALL] |
buffer * | buffer_1small = &is1 |
char | buffer_2_small [BUFFER_SMALL] |
buffer * | buffer_2small = &is2 |
input/output routines
Definition in file buffer.c.
int buffer_bget | ( | buffer * | s, |
char * | buf, | ||
size_t | len | ||
) |
int buffer_feed | ( | buffer * | s | ) |
int buffer_flush | ( | buffer * | s | ) |
int buffer_get | ( | buffer * | s, |
char * | buf, | ||
size_t | len | ||
) |
void buffer_init | ( | buffer * | s, |
ssize_t(*)() | op, | ||
int | fd, | ||
char * | buf, | ||
size_t | len | ||
) |
int buffer_put | ( | buffer * | s, |
const char * | buf, | ||
size_t | len | ||
) |
int buffer_putalign | ( | buffer * | s, |
const char * | buf, | ||
size_t | len | ||
) |
int buffer_putflush | ( | buffer * | s, |
const char * | buf, | ||
size_t | len | ||
) |
int buffer_puts | ( | buffer * | s, |
const char * | buf | ||
) |
int buffer_putsalign | ( | buffer * | s, |
const char * | buf | ||
) |
int buffer_putsflush | ( | buffer * | s, |
const char * | buf | ||
) |
ssize_t buffer_unixread | ( | int | fd, |
char * | buf, | ||
size_t | len | ||
) |
char buffer_0_small[BUFFER_SMALL] |
char buffer_0_space[BUFFER_INSIZE] |
char buffer_1_small[BUFFER_SMALL] |
char buffer_1_space[BUFFER_OUTSIZE] |
char buffer_2_small[BUFFER_SMALL] |
char buffer_2_space[BUFFER_OUTSIZE] |