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

Last change on this file since 425 was 1, checked in by alain, 7 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.