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