xref: /csrg-svn/lib/libplot/dumb/erase.c (revision 19971)
1*19971Sdist /*
2*19971Sdist  * Copyright (c) 1980 Regents of the University of California.
3*19971Sdist  * All rights reserved.  The Berkeley software License Agreement
4*19971Sdist  * specifies the terms and conditions for redistribution.
5*19971Sdist  */
6*19971Sdist 
715434Sralph #ifndef lint
8*19971Sdist static char sccsid[] = "@(#)erase.c	5.1 (Berkeley) 05/07/85";
9*19971Sdist #endif not lint
1015434Sralph 
1115434Sralph #include "dumb.h"
1215434Sralph 
1315434Sralph erase()
1415434Sralph {
1515434Sralph 	register int i, j;
1615434Sralph 
1715434Sralph 	for(i=0;i<COLS;i++)
1815434Sralph 		for(j=0;j<LINES;j++)
1915434Sralph 			screenmat[i][j] = ' ';
2015434Sralph }
21