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