Annotation of 42BSD/usr.lib/libpc/BUFF.c, revision 1.1

1.1     ! root        1: /* Copyright (c) 1979 Regents of the University of California */
        !             2: 
        !             3: static char sccsid[] = "@(#)BUFF.c 1.3 12/9/81";
        !             4: 
        !             5: #include "h00vars.h"
        !             6: 
        !             7: extern char    _sobuf[];
        !             8: 
        !             9: BUFF(amount)
        !            10: 
        !            11:        long            amount;
        !            12: {
        !            13:        struct iorec    *curfile;
        !            14: 
        !            15:        curfile = OUTPUT;
        !            16:        if (amount == 0)
        !            17:                setbuf(ACTFILE(curfile), 0);
        !            18:        else if (amount == 2)
        !            19:                setbuf(ACTFILE(curfile), _sobuf);
        !            20: }

unix.superglobalmegacorp.com

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