source:
asp3_tinet_ecnl_arm/trunk/musl-1.1.18/src/stdio/__uflow.c
Last change on this file was 352, checked in by , 6 years ago | |
---|---|
|
|
File size: 237 bytes |
Rev | Line | |
---|---|---|
[352] | 1 | #include "stdio_impl.h" |
2 | ||
3 | /* This function assumes it will never be called if there is already | |
4 | * data buffered for reading. */ | |
5 | ||
6 | int __uflow(FILE *f) | |
7 | { | |
8 | unsigned char c; | |
9 | if (!__toread(f) && f->read(f, &c, 1)==1) return c; | |
10 | return EOF; | |
11 | } |
Note:
See TracBrowser
for help on using the repository browser.