wasi

Function 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.