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

Function procctl_set

src/process/procctl.rs:62–68  ·  view source on GitHub ↗
(
    option: c_int,
    process: ProcSelector,
    data: &P,
)

Source from the content-addressed store, hash-verified

60
61#[inline]
62pub(crate) unsafe fn procctl_set<P>(
63 option: c_int,
64 process: ProcSelector,
65 data: &P,
66) -> io::Result<()> {
67 procctl(option, process, (as_ptr(data) as *mut P).cast())
68}
69
70#[inline]
71pub(crate) unsafe fn procctl_get_optional<P>(

Callers

nothing calls this directly

Calls 2

as_ptrFunction · 0.85
procctlFunction · 0.70

Tested by

no test coverage detected