blob: 1a070e07021e4afd4b122164cf4b57d2319d4b93 [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