pub fn shutdown_signal() -> u8
Returns the signal number that triggered shutdown (0 if none received).
Typically 2 (SIGINT) for Ctrl+C. Used to compute Unix-conventional exit code 128+N in the main function.