]> pd.if.org Git - pdclib/blobdiff - functions/stdlib/_Exit.c
Added test driver.
[pdclib] / functions / stdlib / _Exit.c
index d5b31f804ca1dac28331def05604bfff57544113..e46af397b68daac62c374fd9f2e06a25d67619ba 100644 (file)
@@ -8,12 +8,14 @@
    Permission is granted to use, modify, and / or redistribute at will.
 */
 
-#include <stdlib.h>
+#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;
 }