fn signal_string(signal: i32) -> &'static str
Expand description

Convert a signal number to a readable, searchable name.

This string should be displayed right after the signal number. If a signal is unrecognized, it returns the empty string, so that you just get the number like “0”. If it is recognized, you’ll get something like “9 (SIGKILL)”.