|
|
1.1 root 1: /*
2: * Standard I/O Library Internals
3: * Terminal output (buffered by line)
4: */
5:
6: #include <stdio.h>
7:
8: int
9: _fputt(c, fp)
10: register unsigned int c;
11: register FILE *fp;
12: {
13: fp->_cc = 0;
14: if (fp->_cp==_ep(fp) && fflush(fp)
15: || (*fp->_cp++ = c) == '\n' && fflush(fp))
16: return (EOF);
17: return ((unsigned char)c);
18: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.