master
 1#include "stdio_impl.h"
 2
 3void clearerr(FILE *f)
 4{
 5	FLOCK(f);
 6	f->flags &= ~(F_EOF|F_ERR);
 7	FUNLOCK(f);
 8}
 9
10weak_alias(clearerr, clearerr_unlocked);