pub unsafe fn kill(pid: Pid, signum: c_int) -> Result<()>
Expand description
§Safety
This is marked unsafe because it allows signals to be sent to arbitrary PIDs. Sending some signals may lead to undefined behavior. Also, the return codes of the child processes need to be reaped to avoid leaking zombie processes.