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