1uio.h(3HEAD) Headers uio.h(3HEAD)
2
3
4
6 uio.h, uio - definitions for vector I/O operations
7
9 #include <sys/uio.h>
10
11
13 The <sys/uio.h> header defines the iovec structure, which includes the
14 following members:
15
16 void *iov_base /* base address of a memory region
17 for input or output */
18 size_t iov_len /* size of the memory pointed to by
19 iov_base */
20
21
22
23 The <sys/uio.h> header uses the iovec structure for scatter/gather I/O.
24
25
26 The ssize_t and size_t types are defined as described in <sys/types.h>.
27
29 The symbol {IOV_MAX} defined in <limits.h> should always be used to
30 learn about the limits on the number of scatter/gather elements that
31 can be processed in one call, instead of assuming a fixed value.
32
34 See attributes(5) for descriptions of the following attributes:
35
36
37
38
39 ┌─────────────────────────────┬─────────────────────────────┐
40 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
41 ├─────────────────────────────┼─────────────────────────────┤
42 │Interface Stability │Standard │
43 └─────────────────────────────┴─────────────────────────────┘
44
46 read(2), write(2), limits.h(3HEAD), types.h(3HEAD), attributes(5),
47 standards(5)
48
49
50
51SunOS 5.11 10 Sep 2004 uio.h(3HEAD)