#include <dir.h> int getdisk(void);
Gets the current disk (0=A).
See section setdisk.
The current disk number.
not ANSI, not POSIX
printf("This drive is %c:\n", getdisk() + 'A');
Go to the first, previous, next, last section, table of contents.