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