projects
/
reactos.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
- Cleanup the /lib directory, by putting more 3rd-party libs in /3rdparty, and by...
[reactos.git]
/
reactos
/
lib
/
sdk
/
crt
/
direct
/
chdir.c
1
#include <precomp.h>
2
#include <ctype.h>
3
#include <direct.h>
4
#include <tchar.h>
5
6
/*
7
* @implemented
8
*/
9
int
_tchdir
(
const
_TCHAR
*
_path
)
10
{
11
if
(!
SetCurrentDirectory
(
_path
)) {
12
_dosmaperr
(
_path
?
GetLastError
():
0
);
13
return
-
1
;
14
}
15
return
0
;
16
}