Skip to main content

exit_byte

Function exit_byte 

Source
pub fn exit_byte(sig: i32) -> u8
Expand description

The exit byte for a session stopped by sig, as crate::shell::exit_status_byte maps a child’s signal death: SIGINT is a clean stop (it is what Ctrl-C sends), anything else 128 + sig, the shell convention.