• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #include "stdio_impl.h"
2 #ifndef __LITEOS__
3 #include "param_check.h"
4 #endif
5 
clearerr(FILE * f)6 void clearerr(FILE *f)
7 {
8 #ifndef __LITEOS__
9 	PARAM_CHECK(f);
10 #endif
11 	FLOCK(f);
12 	f->flags &= ~(F_EOF|F_ERR);
13 	FUNLOCK(f);
14 }
15 
16 weak_alias(clearerr, clearerr_unlocked);
17