shithub: scc

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