pub unsafe fn pselect6(
nfds: i32,
read_fds: Option<&mut fd_set_t>,
write_fds: Option<&mut fd_set_t>,
except_fds: Option<&mut fd_set_t>,
timeout: Option<×pec_t>,
sigmask: Option<&sigset_t>,
) -> Result<i32, Errno>Expand description
Sychronous I/O multiplexing.
Most architectures can’t handle 7-argument syscalls. So we provide a
6-argument version where the sixth argument is a pointer to a structure
which has a pointer to the sigset_t itself followed by a size_t containing
the sigset size.