source: trunk/sys/dietlibc/feof.c @ 292

Last change on this file since 292 was 1, checked in by alain, 8 years ago

First import

File size: 216 bytes
Line 
1#include "dietstdio.h"
2
3int feof_unlocked(FILE*stream) {
4  /* yuck!!! */
5  if (stream->ungotten) return 0;
6  return (stream->flags&EOFINDICATOR);
7}
8int feof(FILE*stream)
9__attribute__((weak,alias("feof_unlocked")));
Note: See TracBrowser for help on using the repository browser.