mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +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;
|
||
|
}
|