xref: /csrg-svn/lib/libplot/dumb/close.c (revision 15430)
1 #ifndef lint
2 static char sccsid[] = "@(#)close.c	4.1 (Berkeley) 11/10/83";
3 #endif
4 
5 #include <signal.h>
6 #include "dumb.h"
7 
8 closepl()
9 {
10 	int i, j;
11 
12 	for(j=0; j<LINES; j++){
13 		for(i=0; i<COLS; i++){
14 			printf("%c", screenmat[i][j]);
15 		}
16 		printf("\n");
17 	}
18 	signal(SIGINT, SIG_IGN);
19 	exit(0);
20 }
21