shithub: scc

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