2017-04-27 20:29:35 +00:00
|
|
|
#if !defined ISO && !defined ISO99 && !defined ISO11 && !defined POSIX && !defined XPG4
|
1999-08-25 01:33:54 +00:00
|
|
|
type {struct pollfd}
|
|
|
|
|
element {struct pollfd} int fd
|
|
|
|
|
element {struct pollfd} {short int} events
|
|
|
|
|
element {struct pollfd} {short int} revents
|
|
|
|
|
|
|
|
|
|
type nfds_t
|
|
|
|
|
|
|
|
|
|
constant POLLIN
|
|
|
|
|
constant POLLRDNORM
|
|
|
|
|
constant POLLRDBAND
|
|
|
|
|
constant POLLPRI
|
|
|
|
|
constant POLLOUT
|
|
|
|
|
constant POLLWRNORM
|
|
|
|
|
constant POLLWRBAND
|
|
|
|
|
constant POLLERR
|
|
|
|
|
constant POLLHUP
|
|
|
|
|
constant POLLNVAL
|
|
|
|
|
|
2001-01-27 05:01:26 +00:00
|
|
|
function int poll (struct pollfd[], nfds_t, int)
|
1999-08-25 01:33:54 +00:00
|
|
|
|
2000-02-28 05:08:01 +00:00
|
|
|
allow pd_*
|
|
|
|
|
allow ph_*
|
|
|
|
|
allow ps_*
|
|
|
|
|
allow POLL*
|
1999-08-25 01:33:54 +00:00
|
|
|
allow *_t
|
|
|
|
|
#endif
|