shithub: scc

ref: 982b9ee2e2f44065a4e05fb2d485acc172b845f0
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;
}