ref: a0e34a8b86c340b8b3517c6dbdcde1de8c8ca39a dir: /src/libc/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); }