(&self)
| 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( |
no outgoing calls
no test coverage detected