]> pd.if.org Git - pdclib/blob - functions/stdlib/_Exit.c
Added exit, _Exit, atexit.
[pdclib] / functions / stdlib / _Exit.c
1 /* $Id$ */
2
3 /* Release $Name$ */
4
5 /* _Exit( int )
6
7    This file is part of the Public Domain C Library (PDCLib).
8    Permission is granted to use, modify, and / or redistribute at will.
9 */
10
11 #include <stdlib.h>
12
13 #ifndef REGTEST
14
15 void _Exit( int status )
16 {
17     _PDCLIB_Exit( status );
18 }
19
20 #endif
21
22 #ifdef TEST
23 #include <_PDCLIB_test.h>
24
25 int main()
26 {
27     int NO_TESTDRIVER = 0;
28     BEGIN_TESTS;
29     TESTCASE( NO_TESTDRIVER );
30     return TEST_RESULTS;
31 }
32
33 #endif