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

Method si_code

src/backend/linux_raw/process/wait.rs:67–71  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

65
66 #[inline]
67 fn si_code(&self) -> c_int {
68 // SAFETY: This is technically a union access, but it's only a union
69 // with padding.
70 unsafe { self.__bindgen_anon_1.__bindgen_anon_1.si_code }
71 }
72
73 /// Return the exit status or signal number recorded in a `siginfo_t`.
74 ///

Callers 1

raw_codeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected