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

1.1       root        1: /*
                      2:  * libc/stdio/_flsbuf.c
                      3:  * ANSI-compliant C standard i/o library internals.
                      4:  * _flsbuf()
                      5:  * This function is defined for compatability with Unix <stdio.h> internals.
                      6:  * The Unix version of putc() does a _flsbuf() to flush a buffer of
                      7:  * characters when the buffer is full.
                      8:  */
                      9: 
                     10: #include <stdio.h>
                     11: 
                     12: int
                     13: _flsbuf(c, fp) register int c; register FILE *fp;
                     14: {
                     15:        ++fp->_cc;
                     16:        return (*fp->_f2p->_pt)(c, fp);
                     17: }
                     18: 
                     19: /* end of libc/stdio/_filbuf.c */

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.