1#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined XPG4
2type {struct pollfd}
3element {struct pollfd} int fd
4element {struct pollfd} {short int} events
5element {struct pollfd} {short int} revents
6
7type nfds_t
8
9constant POLLIN
10constant POLLRDNORM
11constant POLLRDBAND
12constant POLLPRI
13constant POLLOUT
14constant POLLWRNORM
15constant POLLWRBAND
16constant POLLERR
17constant POLLHUP
18constant POLLNVAL
19
20function int poll (struct pollfd[], nfds_t, int)
21
22allow pd_*
23allow ph_*
24allow ps_*
25allow POLL*
26allow *_t
27#endif
28