Categories

Thousands of experts bid on your personal project at ScriptLance.com

fat file system information

#include
#include

void main(void)
{
struct fatinfo fat;

getfatd(&fat);

printf(“Sectors per cluster %dn”, fat.fi_sclus);
printf(“Clusters per disk %un”, fat.fi_nclus);
printf(“Bytes per cluster %dn”, fat.fi_bysec);
printf(“Disk type %xn”, fat.fi_fatid & 0xFF);
}

No related posts.

Related posts brought to you by Yet Another Related Posts Plugin.

You must be logged in to post a comment.