ref: f804aedceaa0393ee3e8bf79dd58f6fe83a046c3 dir: /lib/c/getc.c/
#include <stdio.h> #undef getc int getc(FILE *fp) { return (fp->rp >= fp->wp) ? __getc(fp) : *fp->rp++; }