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