The FreeRADIUS server
$Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
|
Functions for a basic binary heaps. More...
#include <freeradius-devel/util/iovec.h>
#include <freeradius-devel/util/strerror.h>
#include <freeradius-devel/util/syserror.h>
Go to the source code of this file.
Functions | |
fr_slen_t | fr_concatv (fr_dbuff_t *out, struct iovec vector[], int iovcnt) |
Concatenate an iovec into a dbuff. More... | |
ssize_t | fr_writev (int fd, struct iovec vector[], int iovcnt, fr_time_delta_t timeout) |
Write out a vector to a file descriptor. More... | |
Functions for a basic binary heaps.
Definition in file iovec.c.
fr_slen_t fr_concatv | ( | fr_dbuff_t * | out, |
struct iovec | vector[], | ||
int | iovcnt | ||
) |
ssize_t fr_writev | ( | int | fd, |
struct iovec | vector[], | ||
int | iovcnt, | ||
fr_time_delta_t | timeout | ||
) |
Write out a vector to a file descriptor.
Wraps writev, calling it as necessary. If timeout is not NULL, timeout is applied to each call that returns EAGAIN or EWOULDBLOCK
fd | to write to. |
vector | to write. |
iovcnt | number of elements in iovec. |
timeout | how long to wait for fd to become writable before timing out. |
Definition at line 68 of file iovec.c.