shithub: scc

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