Exits the currently running process.
#include <zircon/syscalls.h> [[noreturn]] void zx_process_exit(int64_t retcode);
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_process_exit() does not return.
zx_process_exit() cannot fail.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.