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.
_diskinfo_t Structure
                                             Up Contents Index Back
─────Run-Time Library───────────────────────────────────────────────────────
 
  Include:  <bios.h>
 
  Context:  _bios_disk
 
  Structure:
 
  struct _diskinfo_t
  {
      unsigned drive;      // Drive: 0-0x7f floppy, 0x80=0xff fixed disk
      unsigned head;       // Head number
      unsigned track;      // Track number
      unsigned sector;     // Start sector number
      unsigned nsectors;   // Number of sectors to read, write,
                           //   or compare
      void __far *buffer;  // Memory location to write to, read from,
                           //   or compare
  };
                                    -♦-