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