source:
trunk/sys/dietlibc/clearerr.c
@
302
Last change on this file since 302 was 1, checked in by , 8 years ago | |
---|---|
File size: 193 bytes |
Rev | Line | |
---|---|---|
[1] | 1 | #include "dietstdio.h" |
2 | ||
3 | void clearerr_unlocked(FILE *stream) { | |
4 | stream->flags&=~(ERRORINDICATOR|EOFINDICATOR); | |
5 | } | |
6 | ||
7 | void clearerr(FILE *stream) __attribute__((weak,alias("clearerr_unlocked"))); |
Note: See TracBrowser
for help on using the repository browser.