.\" -*- nroff -*- .\" Generated file - DO NOT EDIT! .TH MSVCRT__chdir 3w "Oct 2012" "Wine API" "Wine API" .SH NAME \fBMSVCRT__chdir\fR (MSVCRT.@) .SH SYNOPSIS int CDECL MSVCRT__chdir ( const char* \fInewdir\fR ) .SH DESCRIPTION .PP Change the current working directory. .SH PARAMS \fInewdir\fR \fB[In]\fR Directory to change to. .PP .SH RETURNS .PP \fBSuccess:\fR \fB0.\fR The current working directory is set to \fInewdir\fR. .PP \fBFailure:\fR \fB-1.\fR errno indicates the error. .SH NOTES .PP See \fBSetCurrentDirectoryA(3w)\fR. .SH IMPLEMENTATION .PP Not declared in a Wine header. The function is either undocumented, or missing from Wine. .PP Implemented in \fB"dlls/msvcrt/dir.c"\fR. .PP Debug channel \fB"msvcrt"\fR.