shithub: scc

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