Annotation of coherent/b/lib/libc/XSTDIO/clearerr.c, revision 1.1.1.1

1.1       root        1: /*
                      2:  * libc/stdio/clearerr.c
                      3:  * ANSI-compliant C standard i/o library.
                      4:  * clearerr()
                      5:  * ANSI 4.9.10.1.
                      6:  * Clear end-of-file and error indicators for stream.
                      7:  */
                      8: 
                      9: #include <stdio.h>
                     10: #undef clearerr
                     11: 
                     12: void
                     13: clearerr(stream) FILE *stream;
                     14: {
                     15:        stream->_ff1 &= ~(_FERR|_FEOF);
                     16: }
                     17: 
                     18: /* 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.