projects
/
reactos.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Reverted latest changes.
[reactos.git]
/
reactos
/
lib
/
msvcrt
/
direct
/
mkdir.c
1
#include <windows.h>
2
#include <msvcrt/direct.h>
3
4
5
int
_mkdir
(
const char
*
_path
)
6
{
7
if
(!
CreateDirectoryA
(
_path
,
NULL
))
8
return
-
1
;
9
return
0
;
10
}
11
12
int
_wmkdir
(
const wchar_t
*
_path
)
13
{
14
if
(!
CreateDirectoryW
(
_path
,
NULL
))
15
return
-
1
;
16
return
0
;
17
}