1 #ifndef _UIO_H_ 2 #define _UIO_H_ 3 4 /* For size_t */ 5 #include <stddef.h> 6 /* For ssize_t */ 7 #include <sys/types.h> 8 9 #include <sys/cdefs.h> 10 11 __BEGIN_DECLS 12 13 /* 14 * Define the uio buffers used for writev, readv. 15 */ 16 17 struct iovec { 18 caddr_t iov_base; 19 int iov_len; 20 }; 21 22 extern ssize_t readv __P ((int filedes, const struct iovec *vector, int count)); 23 extern ssize_t writev __P ((int filedes, const struct iovec *vector, int count)); 24 25 __END_DECLS 26 27 #endif /* _UIO_H_ */ |