1#include "stdio_impl.h" 2 3#undef feof 4 5int feof(FILE* f) { 6 FLOCK(f); 7 int ret = !!(f->flags & F_EOF); 8 FUNLOCK(f); 9 return ret; 10} 11 12weak_alias(feof, feof_unlocked); 13weak_alias(feof, _IO_feof_unlocked); 14