1 /* remove( const char * )
3 This file is part of the Public Domain C Library (PDCLib).
4 Permission is granted to use, modify, and / or redistribute at will.
7 /* This is an example implementation of remove() fit for use with POSIX kernels.
16 #include <wchar.h> // Watcom bug: winnt.h assumes string.h defines wchar_t
19 extern struct _PDCLIB_file_t * _PDCLIB_filelist;
21 extern void _PDCLIB_w32errno( void );
22 int remove( const char * pathname )
24 BOOL ok = DeleteFileA( pathname );
34 #include <_PDCLIB_test.h>
38 /* Testing covered by ftell.c (and several others) */