shithub: scc

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