shithub: scc

ref: 22c3bdf20b42098542640447cd409de2b999e23b
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++;
}