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