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