ref: 261ecb5719d526648014a60787a35caaeb2bf593 dir: /lib/c/feof.c/
#include <stdio.h> #undef feof int feof(FILE *fp) { return fp->flags & _IOEOF; }