Declaration:
int getdisk();
Description
Gets the current drive number. getdisk gets the current drive number and returns an integer: 0 for A, 1 for B, 2 for C, and so on.