mirror of
https://github.com/reactos/reactos.git
synced 2024-08-21 10:53:15 +00:00
16 lines
231 B
C
16 lines
231 B
C
#include <precomp.h>
|
|
#include <direct.h>
|
|
#include <tchar.h>
|
|
|
|
/*
|
|
* @implemented
|
|
*/
|
|
int _tmkdir(const _TCHAR* _path)
|
|
{
|
|
if (!CreateDirectory(_path, NULL)) {
|
|
_dosmaperr(GetLastError());
|
|
return -1;
|
|
}
|
|
return 0;
|
|
}
|