projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'include_refactor' of https://github.com/sitsofe/fio
[fio.git]
/
os
/
windows
/
posix
/
include
/
poll.h
diff --git
a/os/windows/posix/include/poll.h
b/os/windows/posix/include/poll.h
index 058e23adee645b42ec15e56616bf953d027aaf6d..f064e2ba4bf1afb4ce99c012e83ada864b6fef30 100644
(file)
--- a/
os/windows/posix/include/poll.h
+++ b/
os/windows/posix/include/poll.h
@@
-1,4
+1,15
@@
#ifndef POLL_H
#define POLL_H
+typedef int nfds_t;
+
+struct pollfd
+{
+ int fd;
+ short events;
+ short revents;
+};
+
+int poll(struct pollfd fds[], nfds_t nfds, int timeout);
+
#endif /* POLL_H */