Commit | Line | Data |
---|---|---|
2ce81398 DS |
1 | #if defined(LIBC_SCCS) && !defined(lint) |
2 | static char sccsid[] = "@(#)clrerr.c 5.2 (Berkeley) %G%"; | |
3 | #endif LIBC_SCCS and not lint | |
b8f253e8 | 4 | |
41e01b3e S |
5 | #include <stdio.h> |
6 | #undef clearerr | |
f06c3867 BJ |
7 | |
8 | clearerr(iop) | |
41e01b3e | 9 | register FILE *iop; |
f06c3867 BJ |
10 | { |
11 | iop->_flag &= ~(_IOERR|_IOEOF); | |
12 | } |