(pid: Pid, sig: Signal)
| 556 | #[cfg(not(any(target_os = "espidf", target_os = "wasi")))] |
| 557 | #[inline] |
| 558 | pub(crate) fn kill_process(pid: Pid, sig: Signal) -> io::Result<()> { |
| 559 | unsafe { ret(c::kill(pid.as_raw_nonzero().get(), sig.as_raw())) } |
| 560 | } |
| 561 | |
| 562 | #[cfg(not(any(target_os = "espidf", target_os = "wasi")))] |
| 563 | #[inline] |
nothing calls this directly
no test coverage detected