windows: prepare for Windows build split
[fio.git] / os / windows / posix / include / poll.h
CommitLineData
35922a21
BC
1#ifndef POLL_H
2#define POLL_H
3
8393ca93
SW
4typedef int nfds_t;
5
6struct pollfd
7{
8 int fd;
9 short events;
10 short revents;
11};
12
13int poll(struct pollfd fds[], nfds_t nfds, int timeout);
14
dac7244b
SW
15#define POLLOUT 1
16#define POLLIN 2
17#define POLLERR 0
18#define POLLHUP 1
19
35922a21 20#endif /* POLL_H */