KallistiOS git master
Independent SDK for the Sega Dreamcast
|
Masks representing event types for poll() More...
Macros | |
#define | POLLRDNORM (1 << 0) |
Normal data may be read. | |
#define | POLLRDBAND (1 << 1) |
Priority data may be read. | |
#define | POLLPRI (1 << 2) |
High-priority data may be read. | |
#define | POLLOUT (1 << 3) |
Normal data may be written. | |
#define | POLLWRNORM POLLOUT |
Normal data may be written. | |
#define | POLLWRBAND (1 << 4) |
Priority data may be written. | |
#define | POLLERR (1 << 5) |
Error has occurred (revents only) | |
#define | POLLHUP (1 << 6) |
Peer disconnected (revents only) | |
#define | POLLNVAL (1 << 7) |
Invalid fd (revents only) | |
#define | POLLIN (POLLRDNORM | POLLRDBAND) |
Data other than high-priority data may be read. | |
Masks representing event types for poll()
These are the events that can be set in the events or revents fields of the struct pollfd.
#define POLLERR (1 << 5) |
Error has occurred (revents only)
#define POLLHUP (1 << 6) |
Peer disconnected (revents only)
#define POLLIN (POLLRDNORM | POLLRDBAND) |
Data other than high-priority data may be read.
#define POLLNVAL (1 << 7) |
Invalid fd (revents only)
#define POLLOUT (1 << 3) |
Normal data may be written.
#define POLLPRI (1 << 2) |
High-priority data may be read.
#define POLLRDBAND (1 << 1) |
Priority data may be read.
#define POLLRDNORM (1 << 0) |
Normal data may be read.
#define POLLWRBAND (1 << 4) |
Priority data may be written.
#define POLLWRNORM POLLOUT |
Normal data may be written.