ReactOS  0.4.15-dev-1070-ge1a01de
rmdir.c
Go to the documentation of this file.
1 #include <precomp.h>
2 #include <direct.h>
3 #include <tchar.h>
4 
5 /*
6  * @implemented
7  */
8 int _trmdir(const _TCHAR* _path)
9 {
10  if (!RemoveDirectory(_path)) {
12  return -1;
13  }
14  return 0;
15 }
int _trmdir(const _TCHAR *_path)
Definition: rmdir.c:8
#define RemoveDirectory
Definition: winbase.h:3735
DWORD WINAPI GetLastError(VOID)
Definition: except.c:1044
char _TCHAR
Definition: tchar.h:1392
void _dosmaperr(unsigned long oserrcode)
Definition: errno.c:81