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