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

Function prctl_3args

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

Source from the content-addressed store, hash-verified

46
47#[inline]
48pub(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]
57pub(crate) unsafe fn prctl_get_at_arg2_optional<P>(option: i32) -> io::Result<P> {

Calls 1

prctlFunction · 0.50

Tested by

no test coverage detected