![]() |
The FreeRADIUS server $Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
|
#include <freeradius-devel/util/dbuff.h>#include <freeradius-devel/util/time.h>#include <unistd.h>#include <sys/uio.h>
Include dependency graph for iovec.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. | |
| ssize_t | fr_writev (int fd, struct iovec vector[], int iovcnt, fr_time_delta_t timeout) |
| Write out a vector to a file descriptor. | |
| 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.
Here is the call graph for this function:
Here is the caller graph for this function:
1.9.8