prepare move old cruft
[reactos.git] / reactos / lib / crtdll / io / unlink.c
1 /*
2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: ReactOS system libraries
4 * FILE: lib/crtdll/io/unlink.c
5 * PURPOSE: Deletes a file
6 * PROGRAMER: Boudewijn Dekker
7 * UPDATE HISTORY:
8 * 28/12/98: Created
9 */
10
11 #include <precomp.h>
12 #include <msvcrt/io.h>
13
14
15 /*
16 * @implemented
17 */
18 int _unlink( const char *filename )
19 {
20 if ( !DeleteFileA(filename) )
21 return -1;
22 return 0;
23 }