X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fstdio%2Fremove.c;h=0c4f050f29b477598d87612f52af18a3a6d08ccd;hb=HEAD;hp=0318c21d7cbeef2cf81049db8658447dc46d11f7;hpb=d9dcf16664c81809258992e1653ecb68c8079974;p=pdclib.old diff --git a/functions/stdio/remove.c b/functions/stdio/remove.c deleted file mode 100644 index 0318c21..0000000 --- a/functions/stdio/remove.c +++ /dev/null @@ -1,31 +0,0 @@ -/* $Id$ */ - -/* 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