This is the specialization of eventxx::event for C-style callbacks.
More...
This is the specialization of eventxx::event for C-style callbacks.
- See also
- eventxx::event
- Examples
- bench.cpp, and test-eof.cpp.
◆ event()
Creates a new event.
- Parameters
-
fd | File descriptor to monitor for events. |
ev | Type of events to monitor (see eventxx::type). |
handler | C-style callback function. |
arg | Arbitrary pointer to pass to the handler as argument. |
References eventxx::basic_event::fd().
The documentation for this struct was generated from the following file: