-/* $Id$ */
-
-/* Release $Name$ */
-
/* exit( int )
This file is part of the Public Domain C Library (PDCLib).
#include <stdlib.h>
#ifndef REGTEST
+#include <_PDCLIB_io.h>
/* TODO - "except that a function is called after any previously registered
functions that had already been called at the time it was registered.
*/
#define NUMBER_OF_SLOTS 40
-void (*_PDCLIB_regstack[ NUMBER_OF_SLOTS ])( void );
+void (*_PDCLIB_regstack[ NUMBER_OF_SLOTS ])( void ) = { _PDCLIB_closeall };
size_t _PDCLIB_regptr = NUMBER_OF_SLOTS;
void exit( int status )