delorie.com/djgpp/doc/libc/libc_295.html
|
search
|
libc.a reference
__exit
Syntax
| #include <unistd.h>
void __exit(int exit_code);
|
Description
This is an internal library function which exits the program, returning
exit_code to the calling process. No additional processing is
done, and any atexit
functions are not called. Since hardware
interrupts are not unhooked, this can cause crashes after the program
exits. This function is normally called only by _exit
; do
not call it directly.
Return Value
This function does not return.
Portability
ANSI/ISO C |
No
|
POSIX |
1003.2-1992; 1003.1-2001
|