zx_process_exit
Summary
Exits the currently running process.
Declaration
#include <zircon/syscalls.h>
[[noreturn]] void zx_process_exit(int64_t retcode);
Description
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()
.
Rights
None.
Return value
zx_process_exit()
does not return.
Errors
zx_process_exit()
cannot fail.
See also
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.
Last updated 2023-12-13 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2023-12-13 UTC."],[],[]]