EventLoop_GetWaitDescriptor Function
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
el
The EventLoop.
Return value
Returns the waitable descriptor on success, or -1 on failure, in which case errno
is set to the error value.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for