2 * COPYRIGHT: See COPYING in the top level directory
3 * PROJECT: ReactOS system libraries
4 * FILE: lib/msvcrt/io/unlink.c
5 * PURPOSE: Deletes a file
14 #include <internal/debug.h>
20 int _unlink(const char* filename
)
22 DPRINT("_unlink('%s')\n", filename
);
23 if (!DeleteFileA(filename
)) {
24 _dosmaperr(GetLastError());