twizzler_rt_abi::core

Function twz_rt_pre_main_hook

source
pub fn twz_rt_pre_main_hook() -> Option<ExitCode>
Expand description

Call this before calling main, after initializing the runtime. If this function returns None, then call main. Otherwise, act as if main returned the provided ExitCode.