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