Lely core libraries  2.2.5
event.h
Go to the documentation of this file.
1 
22 #ifndef LELY_IO2_EVENT_H_
23 #define LELY_IO2_EVENT_H_
24 
25 #include <lely/io2/io2.h>
26 
28 enum io_event {
35  IO_EVENT_IN = 1u << 0,
40  IO_EVENT_PRI = 1u << 1,
46  IO_EVENT_OUT = 1u << 2,
48  IO_EVENT_ERR = 1u << 3,
56  IO_EVENT_HUP = 1u << 4,
57  IO_EVENT_NONE = 0,
59  | IO_EVENT_HUP
60 };
61 
62 #endif // !LELY_IO2_EVENT_H_
@ IO_EVENT_HUP
The device has been disconnected.
Definition: event.h:56
@ IO_EVENT_IN
Data (other than priority data) MAY be read without blocking.
Definition: event.h:35
@ IO_EVENT_OUT
Data (bot normal and priority data) MAY be written without blocking.
Definition: event.h:46
@ IO_EVENT_ERR
An error has occurred. This event is always reported.
Definition: event.h:48
@ IO_EVENT_PRI
Priority data MAY be read without blocking.
Definition: event.h:40
This is the public header file of the I/O library.
An I/O event.
Definition: poll.h:50