blob: 780391a0bfd7f68fcd5be719bcc4134370c08245 [file] [log] [blame]
#include "stdio_impl.h"
#undef feof
int feof(FILE* f) {
FLOCK(f);
int ret = !!(f->flags & F_EOF);
FUNLOCK(f);
return ret;
}
weak_alias(feof, feof_unlocked);
weak_alias(feof, _IO_feof_unlocked);