#include <__stdio.h> #include void clearerr_unlocked(FILE *stream) { if (stream != NULL) stream->flags &= ~(_IO_ERR | _IO_EOF); }