ref: 4eaac6bfb11cc84259e8b418d4babffdf1c637eb dir: /lib/c/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); }