shithub: scc

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