15 #define POLLNVAL 0x020
16 #define POLLRDNORM 0x040
17 #define POLLRDBAND 0x080
18 #define POLLWRNORM 0x100
19 #define POLLWRBAND 0x200
21 #define POLLRDHUP 0x2000
23 typedef unsigned long nfds_t
;
32 int poll (struct pollfd
*, nfds_t
, int);
36 #define __NEED_struct_timespec
37 #define __NEED_sigset_t
38 #include <bits/alltypes.h>
39 int ppoll(struct pollfd
*, nfds_t
, const struct timespec
*, const sigset_t
*);