NAME | LIBRARY | SYNOPSIS | DESCRIPTION | STANDARDS | HISTORY | NOTES | SEE ALSO |
|
|
iovec(3type) iovec(3type)
iovec - Vector I/O data structure
Standard C library (libc)
#include <sys/uio.h> struct iovec { void *iov_base; /* Starting address */ size_t iov_len; /* Size of the memory pointed to by iov_base. */ };
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)).
POSIX.1-2008.
POSIX.1-2001.
The following header also provides this type: <sys/socket.h>.
process_madvise(2), readv(2)
Linux man-pages 6.04 2023-03-30 iovec(3type)
Pages that refer to this page: keyctl(2), process_madvise(2), process_vm_readv(2), readv(2), vmsplice(2)