libsimpleioEVENT_wait Method |
Wait for events from an epoll dispatcher.
Namespace: IO.BindingsAssembly: libsimpleio (in libsimpleio.dll) Version: 2.2024.167.1
Syntax public static void EVENT_wait(
int epfd,
out int fd,
out int events,
out int handle,
int timeoutms,
out int error
)
Parameters
- epfd Int32
- File descriptor for the displatcher.
- fd Int32
- File descriptor the event is applicable to.
- events Int32
- Events that occurred. May be a sum of the
individual event flags.
- handle Int32
- Event handle provided whent the file descriptor
was registered.
- timeoutms Int32
- Time in milliseconds to wait for an event.
- error Int32
- Error code. Zero upon success or an errno
value upon failure.
See Also