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