Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- libc - <b>getdisk</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
getdisk
=======

Syntax
------

     #include <dir.h>
     
     int getdisk(void);

Description
-----------

Gets the current disk (0=A).

setdisk:.   

Return Value
------------

The current disk number.

Example
-------

     printf("This drive is %c:\n", getdisk() + 'A');


See Also: setdisk

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson