ack/lang/cem/libcc.ansi/stdio/clearerr.c
1989-05-30 13:34:25 +00:00

13 lines
179 B
C

/*
* clearerr.c - clear error and end-of-file indicators of a stream
*/
/* $Header$ */
#include <stdio.h>
void
clearerr(FILE *stream)
{
stream->_flags &= ~(_IOERR|_IOEOF);
}