/*
    AUTOMATICALLY GENERATED BY tspec 2.10
    API SUBSET: unix95:poll.h (VERSION 2.7)
*/

#ifndef __TDF_UNIX95_POLL_H
#define __TDF_UNIX95_POLL_H

#ifdef __cplusplus
extern "C" {
#endif

#pragma TenDRA declaration block api__unix95__poll begin

#pragma token STRUCT TAG pollfd # unix95.poll.pollfd
#pragma token MEMBER int : struct pollfd : fd # unix95.poll.pollfd.fd
#pragma token MEMBER short : struct pollfd : events # unix95.poll.pollfd.events
#pragma token MEMBER short : struct pollfd : revents # unix95.poll.pollfd.revents
#pragma token VARIETY unsigned nfds_t # unix95.poll.nfds_t
#pragma token EXP const : short : POLLIN # unix95.poll.POLLIN
#pragma token EXP const : short : POLLRDNORM # unix95.poll.POLLRDNORM
#pragma token EXP const : short : POLLRDBAND # unix95.poll.POLLRDBAND
#pragma token EXP const : short : POLLPRI # unix95.poll.POLLPRI
#pragma token EXP const : short : POLLOUT # unix95.poll.POLLOUT
#pragma token EXP const : short : POLLWRNORM # unix95.poll.POLLWRNORM
#pragma token EXP const : short : POLLERR # unix95.poll.POLLERR
#pragma token EXP const : short : POLLHUP # unix95.poll.POLLHUP
#pragma token EXP const : short : POLLNVAL # unix95.poll.POLLNVAL
#pragma token EXP const : short : POLLWRBAND # unix95.poll.POLLWRBAND
#pragma token FUNC int (struct pollfd [], unsigned long, int) : poll # unix95.poll.poll

#pragma interface TAG pollfd TAG pollfd.fd TAG pollfd.events
#pragma interface TAG pollfd.revents nfds_t POLLIN POLLRDNORM POLLRDBAND
#pragma interface POLLPRI POLLOUT POLLWRNORM POLLERR POLLHUP POLLNVAL
#pragma interface POLLWRBAND poll

#pragma TenDRA declaration block end

#ifdef __cplusplus
}
#endif

#endif /* __TDF_UNIX95_POLL_H */
