2 Copyright © 2003, The AROS Development Team. All rights reserved.
5 POSIX function _exit().
8 #include <aros/debug.h>
10 #include "__arosc_privdata.h"
12 #include <exec/types.h>
15 #include <aros/startup.h>
17 /*****************************************************************************
28 Terminates the running program immediately. The code is returned to
29 the program which has called the running program. In contrast to
30 exit(), this function does not call user exit-handlers added with
31 atexit() or on_exit(). It does, however, close open filehandles.
34 code - Exit code. 0 for success, other values for failure.
37 None. This function does not return.
40 This function must not be used in a shared library or in a threaded
46 Currently, this function *does* trigger user exit-handlers to be
54 ******************************************************************************/
56 __arosc_jmp2exit(0, code
);