ReactOS 0.4.15-dev-7705-g2320c37
rmdir.c File Reference
#include <precomp.h>
#include <direct.h>
#include <tchar.h>
Include dependency graph for rmdir.c:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int _trmdir (const _TCHAR *_path)
 

Function Documentation

◆ _trmdir()

int _trmdir ( const _TCHAR _path)

Definition at line 8 of file rmdir.c.

9{
10 if (!RemoveDirectory(_path)) {
12 return -1;
13 }
14 return 0;
15}
void _dosmaperr(unsigned long oserrcode)
Definition: errno.c:81
#define RemoveDirectory
Definition: winbase.h:3830
DWORD WINAPI GetLastError(void)
Definition: except.c:1042