gdfs | File handle |
*iseof | Pointer that returns results |
0 | Not the end of file |
Other than 0 | End of file |
GDFS gf; Bool flag; Sint32 ret; gf = gdFsOpen("TEST.BIN", NULL); /* After read processing */ ret = gdFsCheckEof(gf, &flag); if (ret == GDD_ERR_OK && flag == TRUE) { gdFsClose(gf); return; }