Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Turbo C - <b>setdisk() set current disk drive</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
setdisk()                Set Current Disk Drive

 #include   <dir.h>

 int        setdisk(drive);
 int        drive;                       New drive

    setdisk() sets the current drive to the one associated with 'drive'
    (0 = A, 1 = B, etc.).  This is equivalent to DOS function 0x0E.

    Returns:    The total number of drives available.

See Also: getcurdir() setdisk()

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