pub fn open_pidfd(pid: i32) -> Result<OwnedFd>
Open a pidfd for pid (Linux 5.3+).
pid
Returns Err on old kernels or when the pid does not exist.
Err