clearerr is now also a macro
This commit is contained in:
parent
c4c7787acc
commit
ac8168088c
@ -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…
x
Reference in New Issue
Block a user