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>setdisk</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
setdisk
=======

Syntax
------

     #include <dir.h>
     
     int setdisk(int drive);

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

This function sets the current disk (0=A).

getdisk:    

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

The total number of possible drives.

Example
-------

     printf("There are %d drives\n", setdisk(getdisk()));


See Also: getdisk

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