ReactOS 0.4.15-dev-8096-ga0eec98
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:79
DWORD WINAPI GetLastError(void)
Definition: except.c:1042
#define CreateDirectory
Definition: winbase.h:3746