musl/src/stdio/feof.c
Rich Felker 6a4b9472fb add some ugly aliases for LSB ABI compatibility
for some nonsensical reason, glibc's headers use inline functions that
redirect some of the standard functions to ugly nonstandard names (and
likewise for some of their nonstandard functions).
2012-06-02 21:20:21 -04:00

12 lines
161 B
C

#include "stdio_impl.h"
#undef feof
int feof(FILE *f)
{
return !!(f->flags & F_EOF);
}
weak_alias(feof, feof_unlocked);
weak_alias(feof, _IO_feof_unlocked);