mirror of
https://github.com/reactos/reactos.git
synced 2025-06-16 17:00:17 +00:00
16 lines
251 B
C
16 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;
|
|
}
|