Module nix::poll

source ·
Expand description

Wait for events to trigger on specific file descriptors

Structs

This is a wrapper around libc::pollfd.
These flags define the different events that can be monitored by poll and ppoll

Functions

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