File:  [MW Coherent from dump] / coherent / b / lib / libc / XSTDIO / clearerr.c
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Wed May 29 04:56:36 2019 UTC (7 years ago) by root
Branches: MarkWilliams, MAIN
CVS tags: relic, HEAD
coherent

/*
 * libc/stdio/clearerr.c
 * ANSI-compliant C standard i/o library.
 * clearerr()
 * ANSI 4.9.10.1.
 * Clear end-of-file and error indicators for stream.
 */

#include <stdio.h>
#undef	clearerr

void
clearerr(stream) FILE *stream;
{
	stream->_ff1 &= ~(_FERR|_FEOF);
}

/* end of libc/stdio/clearerr.c */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.