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