ref: 02e4f0a7bed09cd0f60d8a0b101cf0a82baf588c 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); }