ack/lang/cem/libcc.ansi/stdio/clearerr.c

13 lines
179 B
C
Raw Normal View History

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