reactos/reactos/lib/crt/direct/wrmdir.c
Gunnar Dalsnes b6a8b98ef0 build msvcrt and crtdll from same source via lib\crt
fix problem with scanf/printf reading/printing doubles

svn path=/trunk/; revision=13342
2005-01-27 21:18:04 +00:00

16 lines
250 B
C

#include "precomp.h"
#include <msvcrt/direct.h>
#include <msvcrt/internal/file.h>
/*
* @implemented
*/
int _wrmdir(const wchar_t* _path)
{
if (!RemoveDirectoryW(_path)) {
_dosmaperr(GetLastError());
return -1;
}
return 0;
}