/* _Exit( int )12This file is part of the Public Domain C Library (PDCLib).3Permission is granted to use, modify, and / or redistribute at will.4*/56#include <stdlib.h>7#include <stdio.h>89#ifndef REGTEST10#include "_PDCLIB_glue.h"1112void _Exit( int status )13{14/* TODO: Flush and close open streams. Remove tmpfile() files. Make this15called on process termination automatically.16*/17_PDCLIB_Exit( status );18}1920#endif2122#ifdef TEST23#include "_PDCLIB_test.h"2425int main( void )26{27int UNEXPECTED_RETURN = 0;28_Exit( 0 );29TESTCASE( UNEXPECTED_RETURN );30return TEST_RESULTS;31}3233#endif343536