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