#include "fatlow.h" int main(void) { int des=0; printf("Its a Fat World!\n"); des=open("fat16.img", O_RDWR|O_BINARY); if(des == 0) { printf("Cant open\n"); return ERROR_PROG; } if( ReadBootSector(des,Fat->bpb) < FUNC_OK ) { printf("error reading"); return ERROR_PROG; } return PROG_OK; }