Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
util: check for error after reading from a file
`fread(3)` does not distinguish between end-of-file and error, and callers must use `feof(3)` and `ferror(3)` to determine which occurred.
- Loading branch information