—
NAME
iovec - Vector I/O data structure
LIBRARY
Standard C library (libc)
SYNOPSIS
bash
#include <sys/uio.h>bash
struct iovec {\n
\n void *iov_base;\n /* Starting address */
\n size_t iov_len;\n /* Size of the memory pointed to by \n
\niov_base\n. */
\n};\nDESCRIPTION
Describes a region of memory, beginning at iov_base address and with the size of iov_len bytes. System calls use arrays of this structure, where each element of the array represents a memory region, and the whole array represents a vector of memory regions. The maximum number of iovec structures in that array is limited by IOV_MAX (defined in <limits.h>, or accessible via the call sysconf(_SC_IOV_MAX)).
STANDARDS
POSIX.1-2008.
HISTORY
POSIX.1-2001.
NOTES
The following header also provides this type: <sys/socket.h>.
SEE ALSO
process_madvise(2), readv(2)