source:
trunk/sys/dietlibc/clearerr.c
@
147
| Last change on this file since 147 was 1, checked in by , 9 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.
