Function rustix::event::fd_set_num_elements

source ยท
pub fn fd_set_num_elements(set_count: usize, nfds: RawFd) -> usize
Expand description

Compute the number of FdSetElements needed to hold a set which can contain up to set_count file descriptors with values less than nfds.