diff options
author | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2010-04-14 06:55:55 +0200 |
---|---|---|
committer | Nguyễn Thái Ngọc Duy <pclouds@gmail.com> | 2010-09-10 18:49:59 +1000 |
commit | 22c4fb20d407f464813ce1031308bc4c6db13bb4 (patch) | |
tree | 36a95bab7dae675a9d842c2d61ae22c602d59db8 /include | |
parent | bebec4ad42af0fc1ead5291769b19d12ffa0a514 (diff) | |
download | busybox-w32-22c4fb20d407f464813ce1031308bc4c6db13bb4.tar.gz busybox-w32-22c4fb20d407f464813ce1031308bc4c6db13bb4.tar.bz2 busybox-w32-22c4fb20d407f464813ce1031308bc4c6db13bb4.zip |
win32: add poll()
Only works for pipes, as commented in the source code.
Diffstat (limited to 'include')
-rw-r--r-- | include/mingw.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mingw.h b/include/mingw.h index d41580da7..c2c0c7816 100644 --- a/include/mingw.h +++ b/include/mingw.h | |||
@@ -61,7 +61,7 @@ typedef unsigned long nfds_t; | |||
61 | #define POLLIN 1 | 61 | #define POLLIN 1 |
62 | #define POLLHUP 2 | 62 | #define POLLHUP 2 |
63 | 63 | ||
64 | NOIMPL(poll,struct pollfd *ufds UNUSED_PARAM, unsigned int nfds UNUSED_PARAM, int timeout UNUSED_PARAM); | 64 | int poll(struct pollfd *ufds, unsigned int nfds, int timeout); |
65 | 65 | ||
66 | /* | 66 | /* |
67 | * pwd.h | 67 | * pwd.h |