shithub: scc

ref: 0d3b55519d654762c70fad8b61dbaf52caf09601
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++;
}