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