source:
trunk/sys/dietlibc/feof.c
@
64
Last change on this file since 64 was 1, checked in by , 8 years ago | |
---|---|
File size: 216 bytes |
Line | |
---|---|
1 | #include "dietstdio.h" |
2 | |
3 | int feof_unlocked(FILE*stream) { |
4 | /* yuck!!! */ |
5 | if (stream->ungotten) return 0; |
6 | return (stream->flags&EOFINDICATOR); |
7 | } |
8 | int feof(FILE*stream) |
9 | __attribute__((weak,alias("feof_unlocked"))); |
Note: See TracBrowser
for help on using the repository browser.