blob: 35815a9077ffb7128168cb98612cc76bc233fb55 [file] [log] [blame]
#ifndef _POLL_H_
#define _POLL_H_
/* Type used for the number of file descriptors. */
typedef unsigned long int nfds_t;
/* Data structure describing a polling request. */
struct pollfd
{
int fd; /* File descriptor to poll. */
short int events; /* Types of events poller cares about. */
short int revents; /* Types of events that actually occurred. */
};
#endif