#include int ferror(FILE *stream) { return stream->has_error; }