[−][src]Function signal_hook::low_level::signal_name
pub fn signal_name(signal: c_int) -> Option<&'static str>
Provides a human-readable name of a signal.
Note that the name does not have to be known (in case it is some less common, or non-standard signal).
Examples
assert_eq!("SIGKILL", signal_name(9).unwrap()); assert!(signal_name(142).is_none());