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

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