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

Method killed

src/process/wait.rs:228–230  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

226 /// create a core file.
227 #[inline]
228 pub fn killed(&self) -> bool {
229 self.raw_code() == bitcast!(backend::c::CLD_KILLED)
230 }
231
232 /// Returns whether the process was terminated by a signal and did create a
233 /// core file.

Callers 2

terminating_signalMethod · 0.80
fmtMethod · 0.80

Calls 1

raw_codeMethod · 0.80

Tested by

no test coverage detected