devela::_dep::rustix::process

Function pidfd_open

pub fn pidfd_open(pid: Pid, flags: PidfdFlags) -> Result<OwnedFd, Errno> 
Available on crate feature dep_rustix only.
Expand description

syscall(SYS_pidfd_open, pid, flags)—Creates a file descriptor for a process.

§References