Wait for events to trigger on specific file descriptors
This is a wrapper around libc::pollfd.
libc::pollfd
These flags define the different events that can be monitored by poll and ppoll
poll
ppoll
poll waits for one of a set of file descriptors to become ready to perform I/O. (poll(2))
poll(2)
ppoll() allows an application to safely wait until either a file descriptor becomes ready or until a signal is caught. (poll(2))
ppoll()