pub fn proc_exit<M: MemorySize>(
ctx: FunctionEnvMut<'_, WasiEnv>,
code: ExitCode,
) -> Result<(), WasiError>Expand description
ยงproc_exit()
Terminate the process normally. An exit code of 0 indicates successful termination of the program. The meanings of other values is dependent on the environment. Inputs:
ExitCodeExit code to return to the operating system