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