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

Function prctl

src/backend/libc/prctl/syscalls.rs:6–14  ·  view source on GitHub ↗
(
    option: c::c_int,
    arg2: *mut c::c_void,
    arg3: *mut c::c_void,
    arg4: *mut c::c_void,
    arg5: *mut c::c_void,
)

Source from the content-addressed store, hash-verified

4
5#[inline]
6pub(crate) unsafe fn prctl(
7 option: c::c_int,
8 arg2: *mut c::c_void,
9 arg3: *mut c::c_void,
10 arg4: *mut c::c_void,
11 arg5: *mut c::c_void,
12) -> io::Result<c::c_int> {
13 ret_c_int(c::prctl(option, arg2, arg3, arg4, arg5))
14}

Callers 11

prctl_1argFunction · 0.50
prctl_2argsFunction · 0.50
prctl_3argsFunction · 0.50
core_scheduling_cookieFunction · 0.50
set_auxiliary_vectorFunction · 0.50

Calls 1

ret_c_intFunction · 0.50

Tested by

no test coverage detected