Struct:pollfd

Jump to: navigation, search

This structure definition is intended to match the Unix® structure of the same name, although the field types may differ slightly.

struct pollfd {
    int fd;           /* file descriptor */
    short events;     /* requested events */
    short revents;    /* returned events */
};