shithub: scc

ref: c6ad0cd513bc5c0a7875553227f262fa46d02831
dir: /lib/c/getc.c/

View raw version

#include <stdio.h>
#undef getc

int
getc(FILE *fp)
{
	return (fp->rp >= fp->wp) ?  __getc(fp) : *fp->rp++;
}