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