X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=functions%2Fstdio%2Fremove.c;h=831d9686170bf303d33b854cc2549eef5b90f560;hb=HEAD;hp=ec7941b1f9f8136698134c18d3b13f79a9ad846c;hpb=d02f38605b53cdff5460cc6b9e1b2a80c3a2ba4c;p=pdclib 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