(
option: c_int,
arg2: *mut c_void,
arg3: *mut c_void,
)
| 46 | |
| 47 | #[inline] |
| 48 | pub(crate) unsafe fn prctl_3args( |
| 49 | option: c_int, |
| 50 | arg2: *mut c_void, |
| 51 | arg3: *mut c_void, |
| 52 | ) -> io::Result<c_int> { |
| 53 | syscalls::prctl(option, arg2, arg3, null_mut(), null_mut()) |
| 54 | } |
| 55 | |
| 56 | #[inline] |
| 57 | pub(crate) unsafe fn prctl_get_at_arg2_optional<P>(option: i32) -> io::Result<P> { |
no test coverage detected