4 struct __atexit
*__atexit_ptr
= 0;
9 struct __atexit
*a
= __atexit_ptr
;
10 __atexit_ptr
= 0; /* to prevent infinite loops */
17 if (__stdio_cleanup_hook)
18 __stdio_cleanup_hook();
19 for (i=0; i<djgpp_last_dtor-djgpp_first_dtor; i++)
20 djgpp_first_dtor[i]();
22 /* in case the program set it this way */
29 void _exit(int _status
)
42 // reset interup vectors