4.3BSD/usr/ingres/source/gutil/set_si_buf.c

Compare this file to the similar file:
Show the results in this format:

# include	<stdio.h>
# include	<ingres.h>
# include	<sccs.h>

SCCSID(@(#)set_si_buf.c	8.1	12/31/84)

/*
**  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);
}