Function pidfd_getfd [src]
Prototype
pub fn pidfd_getfd(pidfd: fd_t, targetfd: fd_t, flags: u32) usize
Parameters
pidfd: fd_t
targetfd: fd_t
flags: u32
Source
pub fn pidfd_getfd(pidfd: fd_t, targetfd: fd_t, flags: u32) usize {
return syscall3(
.pidfd_getfd,
@as(usize, @bitCast(@as(isize, pidfd))),
@as(usize, @bitCast(@as(isize, targetfd))),
flags,
);
}