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>getfatd() get file allocation table information</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
getfatd()                Get File Allocation Table Information

 #include   <dos.h>

 void            getfatd(fatblkp);
 struct fatinfo  *fatblkp;                   Pointer to structure

    getfatd() gets information from the file-allocation table for the
    default drive (0). The information is stored in the 'fatinfo'
    structure pointed to by 'fatblkp'.  The 'fatinfo' structure is
    defined as:

          struct fatinfo  {
               char fi_sclus;           /* Sectors per cluster */
               char fi_fatid;           /* The FAT id byte */
               int fi_nclus;            /* Number of clusters */
               int fi_bysec;            /* Bytes per sector */
          };

    Returns:    There is no return value.

See Also: getdfree() getfat()

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