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