Home | History | Annotate | Download | only in sys
      1 #ifndef SYS_UIO_H
      2 #define SYS_UIO_H
      3 
      4 #include <inttypes.h>
      5 #include <unistd.h>
      6 
      7 struct iovec
      8 {
      9 	void	*iov_base;  /* Base address of a memory region for input or output */
     10 	size_t	 iov_len;   /* The size of the memory pointed to by iov_base */
     11 };
     12 
     13  ssize_t readv(int fildes, const struct iovec *iov, int iovcnt);
     14  ssize_t writev(int fildes, const struct iovec *iov, int iovcnt);
     15 
     16 #endif /* SYS_UIO_H */
     17