mirror of
https://github.com/reactos/reactos.git
synced 2024-11-01 12:26:32 +00:00
16 lines
228 B
C
16 lines
228 B
C
#include <precomp.h>
|
|
#include <direct.h>
|
|
#include <tchar.h>
|
|
|
|
/*
|
|
* @implemented
|
|
*/
|
|
int _trmdir(const _TCHAR* _path)
|
|
{
|
|
if (!RemoveDirectory(_path)) {
|
|
_dosmaperr(GetLastError());
|
|
return -1;
|
|
}
|
|
return 0;
|
|
}
|