File:  [CSRG BSD Unix] / 42BSD / ingres / source / gutil / set_si_buf.c
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 16:12:53 2018 UTC (8 years, 1 month ago) by root
Branches: MAIN, BSD
CVS tags: HEAD, BSD42
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);
}

unix.superglobalmegacorp.com

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