28 lines
483 B
Plaintext
28 lines
483 B
Plaintext
#if !defined ISO && !defined POSIX
|
|
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
|
|
|
|
function int poll (struct pollfd[], nfds_t, int)
|
|
|
|
allow pd_*
|
|
allow ph_*
|
|
allow ps_*
|
|
allow POLL*
|
|
allow *_t
|
|
#endif
|