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

Go to the source code of this file.

Functions

int _tmkdir (const _TCHAR *_path)
 

Function Documentation

◆ _tmkdir()

int _tmkdir ( const _TCHAR _path)

Definition at line 8 of file mkdir.c.

9{
10 if (!CreateDirectory(_path, NULL)) {
12 return -1;
13 }
14 return 0;
15}
#define NULL
Definition: types.h:112
void _dosmaperr(unsigned long oserrcode)
Definition: errno.c:81
DWORD WINAPI GetLastError(void)
Definition: except.c:1040
#define CreateDirectory
Definition: winbase.h:3617