Skip to main content

exit_code

Function exit_code 

Source
pub fn exit_code(code: u32) -> ExitCode
Expand description

Convert exit code to std::process::ExitCode

On Windows, this supports the full u32 range including STATUS_CONTROL_C_EXIT (0xC000013A). On other platforms, only the lower 8 bits are used.