ReactOS 0.4.15-dev-7846-g8ba6c66
mkdir.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 */
8int _tmkdir(const _TCHAR* _path)
9{
10 if (!CreateDirectory(_path, NULL)) {
12 return -1;
13 }
14 return 0;
15}
#define NULL
Definition: types.h:112
#define _tmkdir
Definition: tchar.h:676
char _TCHAR
Definition: tchar.h:1392
void _dosmaperr(unsigned long oserrcode)
Definition: errno.c:81
DWORD WINAPI GetLastError(void)
Definition: except.c:1042
#define CreateDirectory
Definition: winbase.h:3681