1iovec(3type) iovec(3type)
2
3
4
6 iovec - Vector I/O data structure
7
9 Standard C library (libc)
10
12 #include <sys/uio.h>
13
14 struct iovec {
15 void *iov_base; /* Starting address */
16 size_t iov_len; /* Size of the memory pointed to by iov_base. */
17 };
18
20 Describes a region of memory, beginning at iov_base address and with
21 the size of iov_len bytes. System calls use arrays of this structure,
22 where each element of the array represents a memory region, and the
23 whole array represents a vector of memory regions. The maximum number
24 of iovec structures in that array is limited by IOV_MAX (defined in
25 <limits.h>, or accessible via the call sysconf(_SC_IOV_MAX)).
26
28 POSIX.1-2008.
29
31 POSIX.1-2001.
32
34 The following header also provides this type: <sys/socket.h>.
35
37 process_madvise(2), readv(2)
38
39
40
41Linux man-pages 6.05 2023-03-30 iovec(3type)