shithub: scc

ref: 428e86f306625a3192e03260a921a19c3109f57d
dir: /lib/c/src/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;
}