shithub: scc

ref: 73cfd3c699f20de73f64238d7e47abdb35c018d6
dir: /lib/c/putc.c/

View raw version

#include <stdio.h>
#undef putc

int
putc(int ch, FILE *fp)
{
	return (fp->wp >= fp->rp) ? __putc(c,fp) : *fp->wp++ = c;
}