mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 08:52:57 +00:00
16 lines
276 B
C
16 lines
276 B
C
#include "precomp.h"
|
|
#include <msvcrt/ctype.h>
|
|
#include <msvcrt/direct.h>
|
|
#include <msvcrt/internal/file.h>
|
|
|
|
/*
|
|
* @implemented
|
|
*/
|
|
int _chdir(const char* _path)
|
|
{
|
|
if (!SetCurrentDirectoryA((char*)_path)) {
|
|
_dosmaperr(GetLastError());
|
|
return -1;
|
|
}
|
|
return 0;
|
|
}
|