shithub: scc

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