(pid: Pid)
| 584 | #[cfg(not(any(target_os = "espidf", target_os = "wasi")))] |
| 585 | #[inline] |
| 586 | pub(crate) fn test_kill_process_group(pid: Pid) -> io::Result<()> { |
| 587 | unsafe { ret(c::kill(pid.as_raw_nonzero().get().wrapping_neg(), 0)) } |
| 588 | } |
| 589 | |
| 590 | #[cfg(not(any(target_os = "espidf", target_os = "wasi")))] |
| 591 | #[inline] |
nothing calls this directly
no test coverage detected