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