Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Header: #include <applibs/eventloop.h>
Gets a file descriptor for an EventLoop.
The file descriptor is signaled for input when the EventLoop has work ready to process. The application can wait or poll the file descriptor to determine when to process the EventLoop with EventLoop_Run.
int EventLoop_GetWaitDescriptor(EventLoop *el);
Parameters
elThe EventLoop.
Return value
Returns the waitable descriptor on success, or -1 on failure, in which case errno is set to the error value.