Rich Felker | 0b44a03 | 2011-02-12 00:22:29 -0500 | [diff] [blame] | 1 | #include "stdio_impl.h" |
2 | |||||
3 | #undef feof | ||||
4 | |||||
5 | int feof(FILE *f) | ||||
6 | { | ||||
7 | return !!(f->flags & F_EOF); | ||||
8 | } | ||||
9 | |||||
10 | weak_alias(feof, feof_unlocked); | ||||
Rich Felker | 6a4b947 | 2012-06-02 21:20:21 -0400 | [diff] [blame] | 11 | weak_alias(feof, _IO_feof_unlocked); |