procExit

fnnoreturn procExit(ExitCode code) extern(C) nothrow @nogc @wasi @importName("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.