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