blob: 5d7f4b02332b8825f01dd6745ed08bf4ffa66602 [file] [log] [blame]
Rich Felker0b44a032011-02-12 00:22:29 -05001#include "stdio_impl.h"
2
3#undef feof
4
5int feof(FILE *f)
6{
7 return !!(f->flags & F_EOF);
8}
9
10weak_alias(feof, feof_unlocked);
Rich Felker6a4b9472012-06-02 21:20:21 -040011weak_alias(feof, _IO_feof_unlocked);