projects
/
fio.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
windows: target Windows 7 and add support for more than 64 CPUs
[fio.git]
/
os
/
windows
/
posix
/
include
/
poll.h
1
#ifndef POLL_H
2
#define POLL_H
3
4
#include <winsock2.h>
5
6
typedef int nfds_t;
7
8
#ifdef CONFIG_WINDOWS_XP
9
struct pollfd
10
{
11
int fd;
12
short events;
13
short revents;
14
};
15
16
#define POLLOUT 1
17
#define POLLIN 2
18
#define POLLERR 0
19
#define POLLHUP 1
20
#endif /* CONFIG_WINDOWS_XP */
21
22
int poll(struct pollfd fds[], nfds_t nfds, int timeout);
23
24
#endif /* POLL_H */