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