C Language and Libraries Help (clang.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.
_bios_disk
 Summary Example                         Up Contents Index Back
─────Run-Time Library───────────────────────────────────────────────────────
 
     The _bios_disk routine uses INT 0x13 to provide several disk-
     access functions. The <service> parameter selects the function
     desired, whereas the <diskinfo> structure (of type _diskinfo_t)
     provides the necessary parameters.
 
     Note that the low-level operations allowed by this function are
     very dangerous to use, because they perform direct manipulation of
     the disk.
 
     The <service> argument can be set to one of the following manifest
     constants:
 
     _DISK_FORMAT     _DISK_RESET      _DISK_VERIFY
     _DISK_READ       _DISK_STATUS     _DISK_WRITE
 
     Return Value
 
     The _bios_disk function returns the value placed in the AX
     register by the BIOS interrupt.
                                    -♦-