2 Copyright © 1995-2013, The AROS Development Team. All rights reserved.
8 #include <libraries/stdc.h>
10 #include <aros/debug.h>
14 /*****************************************************************************
25 Terminates the running program. The code is returned to the
26 program which has called the running program.
29 code - Exit code. 0 for success, other values for failure.
32 None. This function does not return.
35 This function must not be used in a shared library or
36 in a threaded application.
58 ******************************************************************************/
60 D(bug("[arosc] exit(%d)\n", code
));
62 __stdc_jmp2exit(1, code
);