clearerr is now also a macro
This commit is contained in:
parent
c4c7787acc
commit
ac8168088c
1 changed files with 1 additions and 0 deletions
|
@ -124,6 +124,7 @@ int __flushbuf(int _c, FILE *_stream);
|
|||
|
||||
#define feof(p) (((p)->_flags & _IOEOF) != 0)
|
||||
#define ferror(p) (((p)->_flags & _IOERR) != 0)
|
||||
#define clearerr(p) ((p)->_flags &= (_IOERR|_IOEOF))
|
||||
|
||||
#if defined(__BSD4_2) || defined(__USG) || defined(_POSIX_SOURCE)
|
||||
int fileno(FILE *_stream);
|
||||
|
|
Loading…
Reference in a new issue