xref: /original-bsd/lib/libplot/dumb/erase.c (revision 7211505a)
1 /*
2  * Copyright (c) 1980 Regents of the University of California.
3  * All rights reserved.  The Berkeley software License Agreement
4  * specifies the terms and conditions for redistribution.
5  */
6 
7 #ifndef lint
8 static char sccsid[] = "@(#)erase.c	5.1 (Berkeley) 05/07/85";
9 #endif not lint
10 
11 #include "dumb.h"
12 
13 erase()
14 {
15 	register int i, j;
16 
17 	for(i=0;i<COLS;i++)
18 		for(j=0;j<LINES;j++)
19 			screenmat[i][j] = ' ';
20 }
21