shithub: scc

ref: af25b58d05b0700990057ce3f8c853bd43f2ece0
dir: /lib/c/stdio/getc.c/

View raw version
#include <stdio.h>
#undef getc

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