|
|
BSD 4.3
# include "monitor.h"
# include <ingres.h>
# include <aux.h>
# include <sccs.h>
SCCSID(@(#)clear.c 8.1 12/31/84)
/*
** Clear query buffer
** Flag f is set if called explicitly (with \q) and is
** clear if called automatically.
**
** Uses trace flag 3
*/
clear(f)
{
Autoclear = 0;
/* TRUNCATE FILE & RETURN */
if (freopen(Qbname, "w", Qryiop) == NULL)
syserr("clear: open");
if (Nodayfile >= 0 && f)
printf("\07go\n");
if (f)
clrline(0);
Notnull = 0;
}
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.