|
|
1.1 root 1: /*
2: * libc/stdio/_filbuf.c
3: * ANSI-compliant C standard i/o library internals.
4: * _filbuf()
5: * This function is defined for compatability with Unix <stdio.h> internals.
6: * The Unix version of getc() does a _filbuf() to get a buffer of
7: * characters when the buffer is empty.
8: */
9:
10: #include <stdio.h>
11:
12: int
13: _filbuf(fp) register FILE *fp;
14: {
15: ++fp->_cc;
16: return (*fp->_f2p->_gt)(fp);
17: }
18:
19: /* end of libc/stdio/_filbuf.c */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.