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