1 #ifndef _SYS_UIO_H
2 #define _SYS_UIO_H
3 
4 #include <sys/types.h>
5 
6 #ifdef __cplusplus
7 extern "C" {
8 #endif
9 
10 /*
11  * Per POSIX
12  */
13 
14 struct iovec {
15   void   *iov_base;
16   size_t  iov_len;
17 };
18 
19 ssize_t readv(int, const struct iovec *, int);
20 ssize_t writev(int, const struct iovec *, int);
21 
22 #ifdef __cplusplus
23 };
24 #endif
25 
26 #endif
27