ref: 0d6910bbeed636179cca0f472e72b31d81bd834c 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; }