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