ref: 5ac3a0d4c1a9d7e4d3912c4770084b885007aca6 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); }