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