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