[][src]Function nix::sys::select::pselect

pub fn pselect<'a, N, R, W, E, T, S>(
    nfds: N,
    readfds: R,
    writefds: W,
    errorfds: E,
    timeout: T,
    sigmask: S
) -> Result<c_int> where
    N: Into<Option<c_int>>,
    R: Into<Option<&'a mut FdSet>>,
    W: Into<Option<&'a mut FdSet>>,
    E: Into<Option<&'a mut FdSet>>,
    T: Into<Option<&'a TimeSpec>>,
    S: Into<Option<&'a SigSet>>, 

Monitors file descriptors for readiness with an altered signal mask.

Returns the total number of ready file descriptors in all sets. The sets are changed so that all file descriptors that are ready for the given operation are set.

When this function returns, the original signal mask is restored.

Unlike select, pselect does not mutate the timeout value.

Parameters

References

pselect(2)

The new pselect() system call