summaryrefslogtreecommitdiff
path: root/os/windows/posix/include/sys/uio.h
blob: 0fac2c01e617bcaa2c359a14ea0cdba74e1df501 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef SYS_UIO_H
#define SYS_UIO_H

#include <inttypes.h>
#include <unistd.h>

 struct iovec
 {
 	void	*iov_base;  /* Base address of a memory region for input or output */
	size_t	 iov_len;   /* The size of the memory pointed to by iov_base */
};

 ssize_t readv(int fildes, const struct iovec *iov, int iovcnt);
 ssize_t writev(int fildes, const struct iovec *iov, int iovcnt);

#endif /* SYS_UIO_H */