shithub: scc

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