ref: 5b9d9b6057b4ebdb7d4590c849607f6d0765c00c 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; }