pub fn close_fds_from(start: i32)
Close all file descriptors >= start.
start
Enumerates /proc/self/fd to avoid EBADF on sparse fd tables. Falls back to a blind 3..1024 scan if /proc/self/fd is unreadable.
/proc/self/fd