#include "config.h"
#include "defines.h"
#include <stdlib.h>
#include <stdio.h>
#include <pthread.h>
#include <errno.h>
#include <sys/types.h>
#include <unistd.h>
#include "readline.h"
Go to the source code of this file.
Functions | |
| u_char * | readline (int fd, rline_t *tsd) |
| ssize_t | writen (int fd, const void *vptr, size_t n) |
This file contains a thread safe version of the readline algorithm.
Definition in file readline.c.
|
||||||||||||
|
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