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