ReactOS
0.4.16-dev-36-g301675c
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
)) {
11
_dosmaperr
(
GetLastError
());
12
return
-1;
13
}
14
return
0;
15
}
direct.h
NULL
#define NULL
Definition:
types.h:112
_tmkdir
#define _tmkdir
Definition:
tchar.h:676
_TCHAR
char _TCHAR
Definition:
tchar.h:1392
_dosmaperr
void _dosmaperr(unsigned long oserrcode)
Definition:
errno.c:79
GetLastError
DWORD WINAPI GetLastError(void)
Definition:
except.c:1042
CreateDirectory
#define CreateDirectory
Definition:
winbase.h:3746
sdk
lib
crt
direct
mkdir.c
Generated on Mon Sep 16 2024 06:13:01 for ReactOS by
1.9.6