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

Function set_dumpable_behavior

src/process/procctl.rs:165–167  ·  view source on GitHub ↗
(process: ProcSelector, config: DumpableBehavior)

Source from the content-addressed store, hash-verified

163/// [FreeBSD `procctl(PROC_TRACE_CTL,…)`]: https://man.freebsd.org/cgi/man.cgi?query=procctl&sektion=2
164#[inline]
165pub fn set_dumpable_behavior(process: ProcSelector, config: DumpableBehavior) -> io::Result<()> {
166 unsafe { procctl(PROC_TRACE_CTL, process, config as usize as *mut _) }
167}
168
169//
170// PROC_TRACE_STATUS

Callers

nothing calls this directly

Calls 1

procctlFunction · 0.70

Tested by

no test coverage detected