1 2 3 4 5 6 7 8 9 10
#include "stdio_impl.h" int fgetc(FILE *f) { int c; FLOCK(f); c = f->rpos < f->rstop ? *f->rpos++ : __uflow(f); FUNLOCK(f); return c; }