devela::_dep::nc::call

Function pselect6

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<&timespec_t>,
    sigmask: Option<&sigset_t>,
) -> Result<i32, i32> 
Available on crate feature dep_nc only.
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.