process_exit - Exits the currently running process.
#include <zircon/syscalls.h>
void zx_process_exit(int ret_code);
The zx_process_exit call ends the calling process with the given return code. The return code of a process can be queried via the ZX_INFO_PROCESS request to zx_object_get_info.
TODO(ZX-2399)
zx_process_exit does not return.
zx_process_exit cannot fail.