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