shithub: scc

ref: 43bc7a79ff2c3392462b87e4abd03e27e0d55f57
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;
}