ref: 94ca1b27fc57c64bf0ee1dc95f1c58555aaf6e2a 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); }