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-04-20 19:14:07 +0200 |
commit | 60b898ced4dc652d5fa0c3f59f23e85a5715b783 (patch) | |
tree | 8ebb83417e59adb312523f701f334614f6f58603 /include | |
parent | d7f17ec7ec4be3894941dc095517a94d801c6c2a (diff) | |
download | busybox-w32-60b898ced4dc652d5fa0c3f59f23e85a5715b783.tar.gz busybox-w32-60b898ced4dc652d5fa0c3f59f23e85a5715b783.tar.bz2 busybox-w32-60b898ced4dc652d5fa0c3f59f23e85a5715b783.zip |
win32: add poll()
Only works for pipes, as commented in the source code.
Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
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 3283a1364..08e1aed48 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 |