ReactOS  0.4.15-dev-1070-ge1a01de
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  */
8 int _tmkdir(const _TCHAR* _path)
9 {
10  if (!CreateDirectory(_path, NULL)) {
12  return -1;
13  }
14  return 0;
15 }
DWORD WINAPI GetLastError(VOID)
Definition: except.c:1044
smooth NULL
Definition: ftsmooth.c:416
char _TCHAR
Definition: tchar.h:1392
int _tmkdir(const _TCHAR *_path)
Definition: mkdir.c:8
void _dosmaperr(unsigned long oserrcode)
Definition: errno.c:81