#include "loop.hh"
Public Types | |
enum | : uint { IN , PRI , OUT , RDNORM , RDBAND , WRNORM , WRBAND , ERR , HUP , NVAL } |
Public Attributes | |
uint16 | events |
int | fd |
uint16 | revents |
Mirrors struct pollfd for poll(3posix)
anonymous enum : uint |
Event types that can be polled for, set in .events, updated in .revents.
Enumerator | |
---|---|
IN | RDNORM || RDBAND. |
PRI | urgent data available |
OUT | writing data will not block |
RDNORM | reading data will not block |
RDBAND | reading priority data will not block |
WRNORM | writing data will not block |
WRBAND | writing priority data will not block |
ERR | error condition |
HUP | file descriptor closed |
NVAL | invalid PollFD |
int fd |
uint16 events |
uint16 revents |