Function arceos_posix_api::sys_pselect6
source · pub unsafe fn sys_pselect6(
nfds: c_int,
readfds: *mut fd_set,
writefds: *mut fd_set,
exceptfds: *mut fd_set,
timeout: *mut timeval,
_sigs: *const c_void
) -> c_int
Available on crate feature
select
and (crate features select
or poll
or epoll
) only.Expand description
allows a program to monitor multiple file descriptors, waiting until one or more of the file descriptors become “ready” for some class of I/O operation (e.g., input possible)
TODO: signal is ignored currently