X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fstdlib%2F_Exit.c;h=e46af397b68daac62c374fd9f2e06a25d67619ba;hb=ad4ffe2e8341d440dd75980817ad13324699d648;hp=d5b31f804ca1dac28331def05604bfff57544113;hpb=064097d5ed6eb8c2cfd337c29ac3ebc471e557b8;p=pdclib diff --git a/functions/stdlib/_Exit.c b/functions/stdlib/_Exit.c index d5b31f8..e46af39 100644 --- a/functions/stdlib/_Exit.c +++ b/functions/stdlib/_Exit.c @@ -8,12 +8,14 @@ Permission is granted to use, modify, and / or redistribute at will. */ -#include +#define _PDCLIB_CONFIG_H _PDCLIB_CONFIG_H +#include <_PDCLIB_config.h> #ifndef REGTEST void _Exit( int status ) { + /* TODO: Flush and close open streams. Remove tmpfile() files. */ _PDCLIB_Exit( status ); } @@ -24,9 +26,8 @@ void _Exit( int status ) int main() { - int NO_TESTDRIVER = 0; BEGIN_TESTS; - TESTCASE( NO_TESTDRIVER ); + /* TODO: Add testdrivers after flush / close / tmpfile is implemented. */ return TEST_RESULTS; }