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

Method si_status

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

Source from the content-addressed store, hash-verified

333 #[cfg(not(any(target_os = "emscripten", target_os = "fuchsia", target_os = "netbsd")))]
334 #[allow(unsafe_code)]
335 fn si_status(&self) -> crate::ffi::c_int {
336 // SAFETY: POSIX [specifies] that the `siginfo_t` returned by a
337 // `waitid` call always has a valid `si_status` value.
338 //
339 // [specifies]: https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/signal.h.html
340 unsafe { self.0.si_status() }
341 }
342}
343
344#[cfg(not(any(

Callers 4

stopping_signalMethod · 0.45
trapping_signalMethod · 0.45
exit_statusMethod · 0.45
terminating_signalMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected