pub unsafe extern "C" fn wasm_runtime_get_wasi_exit_code(
module_inst: wasm_module_inst_t,
) -> u32
Expand description
Get WASI exit code.
After a WASI command completed its execution, an embedder can call this function to get its exit code. (that is, the value given to proc_exit.)
@param module_inst the module instance