ReactOS  0.4.15-dev-1070-ge1a01de
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 }
#define RemoveDirectory
Definition: winbase.h:3735
DWORD WINAPI GetLastError(VOID)
Definition: except.c:1044
void _dosmaperr(unsigned long oserrcode)
Definition: errno.c:81