Implement writev on Windows
[fio.git] / os / windows / posix / include / sys / uio.h
CommitLineData
35922a21
BC
1#ifndef SYS_UIO_H
2#define SYS_UIO_H
3
4#include <inttypes.h>
5#include <unistd.h>
6
70a61165
BC
7struct iovec
8{
35922a21
BC
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 */