Function fd_set_num_elements
pub fn fd_set_num_elements(set_count: usize, nfds: i32) -> usize ⓘ
Available on crate feature
dep_rustix
only.Expand description
Compute the number of FdSetElement
s needed to hold a set which can
contain up to set_count
file descriptors with values less than nfds
.