_getdrive.3w

Langue: en

Version: Jun 2009 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

_getdrive (MSVCRT.@)

SYNOPSIS

int CDECL _getdrive
 (
 )

DESCRIPTION

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".