Annotation of coherent/d/lib/libc/stdio/setbuf.c, revision 1.1

1.1     ! root        1: /*
        !             2:  * Standard I/O Library
        !             3:  * Setup own buffer (or none)
        !             4:  */
        !             5: 
        !             6: #include <stdio.h>
        !             7: 
        !             8: void
        !             9: setbuf(fp, bp)
        !            10: register FILE  *fp;
        !            11: register char  *bp;
        !            12: {
        !            13:        if (fp->_bp != NULL)
        !            14:                return;
        !            15:        fp->_bp = bp;
        !            16:        fp->_ff |= _FSTBUF;
        !            17: }

unix.superglobalmegacorp.com

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