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