blob: 3bf94d30795d76d9d408000ac3f911f16090437f [file] [log] [blame]
#include "stdio_impl.h"
void clearerr(FILE *f)
{
FLOCK(f);
f->flags &= ~(F_EOF|F_ERR);
FUNLOCK(f);
}
weak_alias(clearerr, clearerr_unlocked);