source:
trunk/sys/dietlibc/feof.c
@
216
| Last change on this file since 216 was 1, checked in by , 9 years ago | |
|---|---|
| File size: 216 bytes | |
| Rev | Line | |
|---|---|---|
| [1] | 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.
