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