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
;
37 int poll (struct pollfd
*, nfds_t
, int);
41 #define __NEED_struct_timespec
42 #define __NEED_sigset_t
43 #include <bits/alltypes.h>
44 int ppoll(struct pollfd
*, nfds_t
, const struct timespec
*, const sigset_t
*);