[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
getfat() Get File Allocation Table Information
#include <dos.h>
void getfat(drive,fatblkp);
int drive; Specified drive
struct fatinfo * fatblkp; Pointer to structure
getfat() gets information from the file-allocation table for the
drive specified by 'drive' (0 = default, 1 = A, 2 = B, etc). 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()
getfatd()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson