rustix::backend::process::syscalls

Function pidfd_getfd

Source
pub(crate) fn pidfd_getfd(
    pidfd: BorrowedFd<'_>,
    targetfd: RawFd,
    flags: PidfdGetfdFlags,
) -> Result<OwnedFd>