* gcj.texi (Compatibility): Add Limitations and Extensions section.
[official-gcc.git] / libf2c / libF77 / exit_.c
blobadf3d8592748b9725ca82221f6ca8f293df63f9b
1 /* This gives the effect of
3 subroutine exit(rc)
4 integer*4 rc
5 stop
6 end
8 * with the added side effect of supplying rc as the program's exit code.
9 */
11 #include "f2c.h"
12 #undef abs
13 #undef min
14 #undef max
15 #include <stdlib.h>
16 extern void f_exit (void);
18 void
19 G77_exit_0 (integer * rc)
21 #ifdef NO_ONEXIT
22 f_exit ();
23 #endif
24 exit (*rc);