[][src]Function wasi::proc_exit

pub unsafe fn proc_exit(rval: Exitcode)

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.