Function close_fds::iter_open_fds [−][src]
pub fn iter_open_fds(minfd: c_int) -> FdIterⓘ
Expand description
Iterate over all open file descriptors for the current process, starting at minfd
. The file
descriptors are guaranteed to be returned in ascending order.
This is equivalent to FdIterBuilder::new().iter_from(minfd)
.
See the warnings for FdIterBuilder
.