| delorie.com/djgpp/doc/libc/libc_389.html | search |
| [ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
#include <dir.h> int getdisk(void); |
Gets the current disk (0=A).
See section setdisk.
The current disk number.
| ANSI/ISO C | No |
| POSIX | No |
printf("This drive is %c:\n", getdisk() + 'A');
|
| webmaster | delorie software privacy |
| Copyright © 2004 | Updated Apr 2004 |