1
0

__uflow.c 269 B

1234567891011
  1. #include "stdio_impl.h"
  2. /* This function will never be called if there is already data
  3. * buffered for reading. Thus we can get by with very few branches. */
  4. int __uflow(FILE *f)
  5. {
  6. unsigned char c = EOF;
  7. if (f->rend || !__toread(f)) f->read(f, &c, 1);
  8. return c;
  9. }