EventLoopIoCallback Function
Header: #include <applibs/eventloop.h>
The callback invoked by an EventLoop object when a registered I/O event occurs.
typedef void EventLoopIoCallback(EventLoop *el, int fd, EventLoop_IoEvents events, void *context);
Parameters
el
The EventLoop to which the callback is registered.fd
The file descriptor for the new I/O event.events
The bitmask of events raised for theEventLoop
object.context
The optional context pointer that was passed to EventLoop_RegisterIo.