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