Skip to main content

patch_seq_get_exit_code

Function patch_seq_get_exit_code 

Source
#[unsafe(no_mangle)]
pub extern "C" fn patch_seq_get_exit_code() -> i64
Expand description

Get the process exit code.

Called by the generated C main function after scheduler_run returns. Returns 0 if patch_seq_set_exit_code was never called (void main).

Acquire pairs with the Release store in patch_seq_set_exit_code.