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