mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 06:22:58 +00:00
16 lines
250 B
C
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;
|
|
}
|