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