projects
/
reactos.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Use free Windows DDK and compile with latest MinGW releases.
[reactos.git]
/
reactos
/
lib
/
msvcrt
/
direct
/
rmdir.c
1
#include <msvcrti.h>
2
3
4
int
_rmdir
(
const char
*
_path
)
5
{
6
if
(!
RemoveDirectoryA
(
_path
))
7
return
-
1
;
8
return
0
;
9
}
10
11
int
_wrmdir
(
const wchar_t
*
_path
)
12
{
13
if
(!
RemoveDirectoryW
(
_path
))
14
return
-
1
;
15
return
0
;
16
}