|
|
BSD 4.2
# include <stdio.h>
# include <ingres.h>
# include <sccs.h>
SCCSID(@(#)set_si_buf.c 7.1 2/5/81)
/*
** SET_SI_BUF -- set standard input buffer unconditionally
**
** This routine sets the standard input buffer to give
** buffered input. The buffer is contained internally.
**
** Parameters:
** none
**
** Returns:
** TRUE.
**
** Side Effects:
** The standard input is left buffered.
**
** Trace Flags:
** none
*/
set_si_buf()
{
static char buffer[BUFSIZ];
setbuf(stdin, buffer);
return (TRUE);
}
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.