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:
ExitCode
Exit code to return to the operating system