qc.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
_dos_getdiskfree
 Summary Example                         Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     The _dos_getdiskfree routine uses system call 0x36 to obtain
     information on the disk drive specified by <drive>. The default
     drive is 0, drive A is 1, drive B is 2, and so on. Information is
     returned in the diskfree_t structure (defined in DOS.H) pointed to
     by <diskspace>.
 
     Return Value
 
     If successful, the function returns 0. Otherwise, it returns a
     nonzero value and sets errno to EINVAL, indicating that an invalid
     drive was specified.
                                    -♦-