shithub: scc

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