Function rustix::process::pidfd_open

source ·
pub fn pidfd_open(pid: Pid, flags: PidfdFlags) -> Result<OwnedFd>
Expand description

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

References