ref: 1a3ab58b1e471ed3b38dfdb1d0c0a0bd30280fbf 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; }