...
Code Block | ||
---|---|---|
| ||
FILE* fptr = fopen(file_name, "rb"); fpos_t pos; if (fptr == NULL) { /* handleHandle error conditionError */ } if(fgetpos(fptr, &pos)) { /* Handle Error */ } /* Read data */ if(fsetpos(fptr, &pos)) { /* Handle Error */ } /* Continue on */ |
...