exit calls up to 32 functions installed via atexit in reverse order of installation before it calls _exit. _exit, which terminates the calling process in Unix, calls oskit_libc_exit with the exit status code (see Section 17.4.1).
_exit, which terminates the calling process in Unix, calls oskit_libc_exit with the exit status code (see Section 17.4.1).