#include <__stdio.h> #include int feof_unlocked(FILE *stream) { return (stream) ? stream->eof : 0; }