Function proc_self_fdinfo_fd
Source pub fn proc_self_fdinfo_fd<Fd: AsFd>(fd: Fd) -> Result<OwnedFd>
Expand description
Returns a handle to a Linux /proc/self/fdinfo/<fd> file.
This ensures that /proc/self/fdinfo/<fd> is procfs, that nothing is
mounted on top of it, and that it looks normal.
ยงReferences