ref: 4ddb383f2b1ea7f017404f94e9e2683af3bcc43f 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); }