[][src]Crate close_fds

Structs

FdIter

Functions

close_open_fds

Close all open file descriptors starting at minfd, except for the file descriptors in keep_fds.

iter_open_fds

Iterate over all open file descriptors for the current process, starting at minfd.

iter_possible_fds

Identical to iter_open_fds(), but may -- for efficiency -- yield invalid file descriptors.