|
|
1.1 root 1: /*
2: * libc/stdio/ferror.c
3: * ANSI-compliant C standard i/o library.
4: * ferror()
5: * ANSI 4.9.10.3.
6: * Test the error indicator for stream.
7: */
8:
9: #include <stdio.h>
10: #undef ferror
11:
12: int
13: ferror(stream) FILE *stream;
14: {
15: return stream->_ff1 & _FERR;
16: }
17:
18: /* end of libc/stdio/ferror.c */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.