Function wasi::proc_exit

source · []
pub unsafe fn proc_exit(rval: Exitcode)
Expand description

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.

Parameters

  • rval - The exit code returned by the process.