_getdrive(3w)

_getdrive3w

Usage

int CDECL _getdrive
(
)

Overview

Get the current drive number.

Params

None.

Returns

Success: The drive letter number from 1 to 26 ("A:" to "Z:").

Failure: 0.

Implementation

Defined in "msvcrt.h".

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.