X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fstdio%2Fremove.c;h=0c4f050f29b477598d87612f52af18a3a6d08ccd;hb=HEAD;hp=ec7941b1f9f8136698134c18d3b13f79a9ad846c;hpb=12e17136786afb1775c9dc946cbe41f5e230c24a;p=pdclib.old diff --git a/functions/stdio/remove.c b/functions/stdio/remove.c deleted file mode 100644 index ec7941b..0000000 --- a/functions/stdio/remove.c +++ /dev/null @@ -1,33 +0,0 @@ -/* $Id$ */ - -/* Release $Name$ */ - -/* remove( const char * ) - - This file is part of the Public Domain C Library (PDCLib). - Permission is granted to use, modify, and / or redistribute at will. -*/ - -#include - -#ifndef REGTEST -#include <_PDCLIB_glue.h> - -int remove( const char * filename ) -{ - /* TODO: Check open file list, flush and close file if open */ - return _PDCLIB_remove( filename ); -} - -#endif - -#ifdef TEST -#include <_PDCLIB_test.h> - -int main( void ) -{ - TESTCASE( NO_TESTDRIVER ); - return TEST_RESULTS; -} - -#endif