A newer version of this document is available. Customers should click here to go to the newest version.
Visible to Intel only — GUID: wkn1652858898296
Ixiasoft
Visible to Intel only — GUID: wkn1652858898296
Ixiasoft
13.1.1.1. _exit()
Prototype
void _exit (int exit_code)Commonly Called By
newlib C libraryThread-safe
Yes.Available from ISR
No.Include
<unistd.h>Description
The newlib exit() function calls the _exit() function to terminate the current process. Typically, exit() calls this function when main() completes. Because there is only a single process in HAL systems, the HAL implementation blocks forever.
Interrupts are not disabled, so ISRs continue to execute.
The input argument, exit_code, is ignored.