pub fn ppoll(
fds: &mut [PollFd],
timeout: Option<TimeSpec>,
sigmask: Option<SigSet>
) -> Result<c_int>Expand description
ppoll() allows an application to safely wait until either a file
descriptor becomes ready or until a signal is caught.
(poll(2))
ppoll behaves like poll, but let you specify what signals may interrupt it
with the sigmask argument. If you want ppoll to block indefinitely,
specify None as timeout (it is like timeout = -1 for poll).
If sigmask is None, then no signal mask manipulation is performed,
so in that case ppoll differs from poll only in the precision of the
timeout argument.