_chdrive(3w)

NAME

_chdrive (MSVCRT.@)

SYNOPSIS

int CDECL  _chdrive
 (
  int newdrive
 )

DESCRIPTION

Change the current drive.

PARAMS

newdrive [In] Drive number to change to (1 = 'A', 2 = 'B', ...).

RETURNS

Success: 0. The current drive is set to newdrive.

Failure: -1. errno indicates the error.

NOTES

See SetCurrentDirectoryA(3w).

IMPLEMENTATION

Not defined in a Wine header. The function is either undocumented, or missing from Wine.

Implemented in "build/buildd-wine-unstable_1.1.32-1+b1-amd64-KnxYu0/wine-unstable-1.1.32/build32/dlls/msvcrt/dir.c".

Debug channel "msvcrt".
Copyright © 2010-2025 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout