shithub: scc

ref: 40d91321c64a0ae0c5b7679b687b6c555fd4ecf0
dir: /src/libc/stdio/putc.c/

View raw version
#include <stdio.h>

#undef putc

int
putc(int ch, FILE *fp)
{
	return (fp->wp >= fp->rp) ? __putc(ch,fp) : (*fp->wp++ = ch);
}