[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]


_getdrive

This function is used to get the drive number of the current directory.

Compatibility:

This function is compatible with the following targets:

ANSI
BeOS
EMB/RTOS
Mac OS

Palm OS

Win32


Prototype:
#include <io.h>
int _getdrive();
Parameters:

None

Remarks:

The return of _getdrive gives the drives as a number for example: 1 is drive A and 3 equals drive C, etc.

Return:

The function _getdrive returns the drive if successful and zero if unsuccessful.

See Also:

"_chdrive"


[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]

Visit the Metrowerks website at: http://www.metrowerks.com
For assistance contact Metrowerks Technical Support at: cw_support@metrowerks.com
Copyright © 2000, Metrowerks Corp. All rights reserved.

Last updated: August 16, 2000