|
Lely core libraries 2.3.5
|
An I/O event. More...
#include <poll.h>

Data Fields | ||
| int | events | |
| The events that should be watched or have been triggered (either IO_EVENT_SIGNAL, or any combination of IO_EVENT_ERROR, IO_EVENT_READ and IO_EVENT_WRITE). | ||
| union { | ||
| unsigned char sig | ||
| The signal number (if events == IO_EVENT_SIGNAL). | ||
| void * data | ||
| A pointer to user-specified data (if events != IO_EVENT_SIGNAL). | ||
| io_handle_t handle | ||
| An I/O device handle (if events != IO_EVENT_SIGNAL). | ||
| } | u | |
| Signal attributes depending on the value of events. | ||