mirror of
https://github.com/reactos/reactos.git
synced 2025-06-17 23:25:20 +00:00
17 lines
251 B
C
17 lines
251 B
C
![]() |
#include <precomp.h>
|
||
|
#include <ctype.h>
|
||
|
#include <direct.h>
|
||
|
#include <tchar.h>
|
||
|
|
||
|
/*
|
||
|
* @implemented
|
||
|
*/
|
||
|
int _tchdir(const _TCHAR* _path)
|
||
|
{
|
||
|
if (!SetCurrentDirectory(_path)) {
|
||
|
_dosmaperr(_path?GetLastError():0);
|
||
|
return -1;
|
||
|
}
|
||
|
return 0;
|
||
|
}
|