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