shithub: scc

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