4.3BSD/usr/src/usr.lib/libpc/BUFF.c

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

/* Copyright (c) 1979 Regents of the University of California */

static char sccsid[] = "@(#)BUFF.c 1.3 12/9/81";

#include "h00vars.h"

extern char	_sobuf[];

BUFF(amount)

	long		amount;
{
	struct iorec	*curfile;

	curfile = OUTPUT;
	if (amount == 0)
		setbuf(ACTFILE(curfile), 0);
	else if (amount == 2)
		setbuf(ACTFILE(curfile), _sobuf);
}