date and time created 80/10/31 14:45:07 by mckusick
[unix-history] / usr / src / usr.bin / pascal / libpc / BUFF.c
CommitLineData
4f0711a2
KM
1/* Copyright (c) 1979 Regents of the University of California */
2
3static char sccsid[] = "@(#)BUFF.c 1.1 %G%";
4
5#include "h00vars.h"
6
7extern char _sobuf[];
8
9BUFF(amount)
10
11 int amount;
12{
13 struct iorec *curfile;
14
15 curfile = OUTPUT;
16 if (amount == 0)
17 setbuf(0, ACTFILE(curfile));
18 else if (amount == 2)
19 setbuf(_sobuf, ACTFILE(curfile));
20}