Skip to content

AFNI/NIfTI Server

Sections
Personal tools
You are here: Home » AFNI » Documentation

Doxygen Source Code Documentation


Main Page   Alphabetical List   Data Structures   File List   Data Fields   Globals   Search  

exit.c

Go to the documentation of this file.
00001 #include "stdlib.h"
00002 /* This gives the effect of
00003 
00004         subroutine exit(rc)
00005         integer*4 rc
00006         stop
00007         end
00008 
00009  * with the added side effect of supplying rc as the program's exit code.
00010  */
00011 
00012 #include "f2c.h"
00013 #undef abs
00014 #undef min
00015 #undef max
00016 #ifndef KR_headers
00017 #include "stdlib.h"
00018 #ifdef __cplusplus
00019 extern "C" {
00020 #endif
00021 extern void f_exit(void);
00022 #endif
00023 
00024  void
00025 #ifdef KR_headers
00026 exit_(rc) integer *rc;
00027 #else
00028 exit_(integer *rc)
00029 #endif
00030 {
00031 #ifdef NO_ONEXIT
00032         f_exit();
00033 #endif
00034         exit(*rc);
00035         }
00036 #ifdef __cplusplus
00037 }
00038 #endif
 

Powered by Plone

This site conforms to the following standards: