Module poll

Source
Available on crate feature poll only.
Expand description

Wait for events to trigger on specific file descriptors

Structs§

PollFd
This is a wrapper around libc::pollfd.
PollFlags
These flags define the different events that can be monitored by poll and ppoll
PollTimeout
PollTimeout argument for polling.

Enums§

PollTimeoutTryFromError
Error type for integer conversions into PollTimeout.

Functions§

poll
poll waits for one of a set of file descriptors to become ready to perform I/O. (poll(2))
ppollsignal
ppoll() allows an application to safely wait until either a file descriptor becomes ready or until a signal is caught. (poll(2))