ref: bf2b631c10be44df6ca87c9b7e7fb279a9a4d4ec dir: /src/libc/stdio/putc.c/
#include <stdio.h> #undef putc int putc(int ch, FILE *fp) { return (fp->wp >= fp->rp) ? __putc(ch,fp) : (*fp->wp++ = ch); }