diff options
Diffstat (limited to 'conform/data/poll.h-data')
-rw-r--r-- | conform/data/poll.h-data | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/conform/data/poll.h-data b/conform/data/poll.h-data new file mode 100644 index 0000000000..fdc7b2f5ea --- /dev/null +++ b/conform/data/poll.h-data @@ -0,0 +1,23 @@ +#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[], nfsd_t, int) + +allow *_t +#endif |