| www.delorie.com/djgpp/doc/libc-2.01/libc_322.html | search |
#include <dir.h> int getdisk(void);
Gets the current disk (0=A).
See section setdisk.
The current disk number.
printf("This drive is %c:\n", getdisk() + 'A');
Go to the first, previous, next, last section, table of contents.
| prev next webmaster | delorie software privacy |
| Copyright © 1997 | Updated Apr 1997 |