MCPcopy Create free account
hub / github.com/bytecodealliance/rustix / prctl_2args

Function prctl_2args

src/prctl.rs:42–45  ·  view source on GitHub ↗
(option: c_int, arg2: *mut c_void)

Source from the content-addressed store, hash-verified

40
41#[inline]
42pub(crate) unsafe fn prctl_2args(option: c_int, arg2: *mut c_void) -> io::Result<c_int> {
43 const NULL: *mut c_void = null_mut();
44 syscalls::prctl(option, arg2, NULL, NULL, NULL)
45}
46
47#[inline]
48pub(crate) unsafe fn prctl_3args(

Callers 15

prctl_get_at_arg2Function · 0.85
set_keep_capabilitiesFunction · 0.85
nameFunction · 0.85
set_nameFunction · 0.85
set_current_timer_slackFunction · 0.85
set_no_new_privsFunction · 0.85

Calls 1

prctlFunction · 0.50

Tested by

no test coverage detected