/* sys/uio.h netport */ #ifndef _UIO_H_ #define _UIO_H_ /* For size_t */ #include /* For ssize_t */ #include /* * Define the uio buffers used for writev, readv. */ struct iovec { void *iov_base; size_t iov_len; }; extern ssize_t readv (int filedes, const struct iovec *vector, int count); extern ssize_t writev(int filedes, const struct iovec *vector, int count); #endif /* _UIO_H_ */