pub fn proc_self_fd() -> Result<BorrowedFd<'static>>
Expand description

Returns a handle to Linux’s /proc/self/fd directory.

This ensures that /proc/self/fd is procfs, that nothing is mounted on top of it, and that it looks normal.

References