getc.c (109B)
1 #include <stdio.h> 2 3 #undef getc 4 5 int 6 getc(FILE *fp) 7 { 8 return (fp->rp >= fp->wp) ? __getc(fp) : *fp->rp++; 9 }