}
size_t file_read(void *buffer, size_t size, size_t count, FILE *fp) {
}
size_t file_read(void *buffer, size_t size, size_t count, FILE *fp) {
* These are implemented as just generic wrappers to keep consistency in
* the API. Not as macros though
*/
* These are implemented as just generic wrappers to keep consistency in
* the API. Not as macros though
*/
return fwrite(buffer, size, count, fp);
}
return fwrite(buffer, size, count, fp);
}
/* Invokes file_exception on windows if fp is null */
return fseek(fp, off, whence);
}
/* Invokes file_exception on windows if fp is null */
return fseek(fp, off, whence);
}
/*
* Implements libc getline for systems that don't have it, which is
* assmed all. This works the same as getline().
/*
* Implements libc getline for systems that don't have it, which is
* assmed all. This works the same as getline().