Go to the source code of this file.
Data Structures | |
| struct | s_rline_t |
Typedefs | |
| typedef s_rline_t | rline_t |
Functions | |
| u_char * | readline (int fd, rline_t *tsd) |
| ssize_t | writen (int fd, const void *vptr, size_t n) |
Definition in file readline.h.
|
|
This structure contains the necessary information about the read data |
|
||||||||||||
|
This function reads a complete line from a socket and buffers the data which was not needed within this call.
Definition at line 78 of file readline.c. |
|
||||||||||||||||
|
This function tries to write n bytes to a file descriptor. It re-tries it on EAGAIN and EINTR. If not all of the data could be written in the first call, it makes more calls to write the rest of the data.
Definition at line 139 of file readline.c. |
1.3.5