10 #include <bits/poll.h>
17 #define POLLNVAL 0x020
18 #define POLLRDNORM 0x040
19 #define POLLRDBAND 0x080
21 #define POLLWRNORM 0x100
22 #define POLLWRBAND 0x200
26 #define POLLRDHUP 0x2000
29 typedef unsigned long nfds_t
;
38 int poll (struct pollfd
*, nfds_t
, int);
42 #define __NEED_struct_timespec
43 #define __NEED_sigset_t
44 #include <bits/alltypes.h>
45 int ppoll(struct pollfd
*, nfds_t
, const struct timespec
*, const sigset_t
*);