getdisk()                Get Current Drive
 
 #include   <dir.h>
 
 int        getdisk(void);
 
    getdisk() gets the current drive.
 
    Returns:    The current drive is returned: 0 = A, 1 = B, 2 = C, etc.
 
      Notes:    This is equivalent to DOS function 19h.

Seealso:



This page last updated on Fri Nov 30 10:48:32 MSK 2001
Copyright © 1992-2001, Vitaly Filatov, Moscow, Russia
Webmaster