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