Annotation of 42BSD/ingres/source/gutil/set_si_buf.c, revision 1.1

1.1     ! root        1: # include      <stdio.h>
        !             2: # include      <ingres.h>
        !             3: # include      <sccs.h>
        !             4: 
        !             5: SCCSID(@(#)set_si_buf.c        7.1     2/5/81)
        !             6: 
        !             7: /*
        !             8: **  SET_SI_BUF -- set standard input buffer unconditionally
        !             9: **
        !            10: **     This routine sets the standard input buffer to give
        !            11: **     buffered input.  The buffer is contained internally.
        !            12: **
        !            13: **     Parameters:
        !            14: **             none
        !            15: **
        !            16: **     Returns:
        !            17: **             TRUE.
        !            18: **
        !            19: **     Side Effects:
        !            20: **             The standard input is left buffered.
        !            21: **
        !            22: **     Trace Flags:
        !            23: **             none
        !            24: */
        !            25: 
        !            26: set_si_buf()
        !            27: {
        !            28:        static char     buffer[BUFSIZ];
        !            29: 
        !            30:        setbuf(stdin, buffer);
        !            31:        return (TRUE);
        !            32: }

unix.superglobalmegacorp.com

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