Module signal

Source
Expand description

Signal numbers.

§Safety

Some signal numbers are reserved by the libc. Signal::from_raw_unchecked and Signal::from_raw_nonzero_unchecked allow constructing Signal values with arbitrary values. Users must avoid using reserved values to send, consume, or block any signals or alter any signal handlers.

See the individual functions’ safety comments for more details.

Structs§

Signal
A signal number for use with kill_process, kill_process_group, and kill_current_process_group.