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