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