Skip to main content

SYS_KILL

Constant SYS_KILL 

Source
pub const SYS_KILL: usize = 320; // 320usize
Expand description

Send a signal to a process.

  • pid: target process ID (negative = send to process group)
  • signum: signal number (1-31)

Returns 0 on success, -ESRCH if process not found.