_chdrive(3w)

_chdrive3w

Usage

int CDECL _chdrive
(
int newdrive
)

Overview

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 "dlls/msvcrt/dir.c".

Debug channel "msvcrt".

Releases

3 releases since Debian 4.0 (Etch); the text changed 2 times.

  1. 4.0
  2. 5.0
  3. 6.0

From libwine-dev 1.0.1-3.1 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.