Skip to main content

exit_code_range

Function exit_code_range 

Source
pub fn exit_code_range(unix: bool) -> Option<RangeInclusive<i32>>
Expand description

The range of exit codes a platform can report, when narrower than i32: Unix keeps only the low 8 bits of a process’s status. None where the whole i32 range is possible, as on Windows.