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