Reference

_chdir(3w)

NAME

_chdir (MSVCRT.@)

SYNOPSIS

int CDECL _chdir
(
const char* newdir
)

DESCRIPTION

Change the current working directory.

PARAMS

newdir [In] Directory to change to.

RETURNS

Success: 0. The current working directory is set to newdir.

Failure: -1. errno indicates the error.

NOTES

See SetCurrentDirectoryA(3w).

IMPLEMENTATION

Defined in "tchar.h".

Implemented in "dlls/msvcrt/dir.c".

Debug channel "msvcrt".