MCPcopy Create free account
hub / github.com/bytecodealliance/rustix / test_kill_process

Function test_kill_process

src/backend/linux_raw/process/syscalls.rs:457–459  ·  view source on GitHub ↗
(pid: Pid)

Source from the content-addressed store, hash-verified

455
456#[inline]
457pub(crate) fn test_kill_process(pid: Pid) -> io::Result<()> {
458 unsafe { ret(syscall_readonly!(__NR_kill, pid, pass_usize(0))) }
459}
460
461#[inline]
462pub(crate) fn test_kill_process_group(pid: Pid) -> io::Result<()> {

Callers

nothing calls this directly

Calls 1

retFunction · 0.50

Tested by

no test coverage detected