File:  [DVB] / dietlibc / libstdio / ferror.c
Revision 1.2: download - view: text, annotated - select for diffs
Tue Nov 11 18:27:41 2003 UTC (20 years, 6 months ago) by sanjiyan
Branches: MAIN
CVS tags: HEAD
- some more stdio unlocked functions and cleanup with the cancel-points
- "new"-internal pthread_mutex_{un,}lock functions

#include <dietstdio.h>

int ferror_unlocked(FILE*stream) {
  return (stream->flags&ERRORINDICATOR);
}
int ferror(FILE*stream)
__attribute__((weak,alias("ferror_unlocked")));

LinuxTV legacy CVS <linuxtv.org/cvs>