shithub: scc

ref: c79199da3e3565e28c2220a8474712a9fabc76e4
dir: /src/libc/stdio/getc.c/

View raw version
#include <stdio.h>

#undef getc

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