Rapicorn - Experimental UI Toolkit - Source Code
13.07.0
|
Mirrors struct pollfd for poll(3posix) More...
#include <loop.hh>
Public Types | |
enum | { IN, PRI, OUT, RDNORM, RDBAND, WRNORM, WRBAND, ERR, HUP, NVAL } |
Event types that can be polled for, set in .events, updated in .revents. More... | |
Public Attributes | |
int | fd |
uint16 | events |
uint16 | revents |
Mirrors struct pollfd for poll(3posix)
anonymous enum |
Event types that can be polled for, set in .events, updated in .revents.
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 |