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