(pid: Pid)
| 578 | |
| 579 | #[cfg(not(any(target_os = "espidf", target_os = "wasi")))] |
| 580 | pub(crate) fn test_kill_process(pid: Pid) -> io::Result<()> { |
| 581 | unsafe { ret(c::kill(pid.as_raw_nonzero().get(), 0)) } |
| 582 | } |
| 583 | |
| 584 | #[cfg(not(any(target_os = "espidf", target_os = "wasi")))] |
| 585 | #[inline] |
nothing calls this directly
no test coverage detected