iolist scatter / gather IO More...
iolist scatter / gather IO
Definition in file iolist.h.
#include <unistd.h>
Go to the source code of this file.
Data Structures | |
struct | iolist |
iolist structure definition More... | |
Typedefs | |
typedef struct iolist | iolist_t |
iolist forward declaration | |
Functions | |
unsigned | iolist_count (const iolist_t *iolist) |
Count number of entries in an iolist_t. | |
size_t | iolist_size (const iolist_t *iolist) |
Sum up number of bytes in iolist. | |
size_t | iolist_to_iovec (const iolist_t *iolist, struct iovec *iov, unsigned *count) |
Create struct iovec from iolist. | |
ssize_t | iolist_to_buffer (const iolist_t *iolist, void *dst, size_t len) |
Copies the bytes of the iolist to a buffer. | |