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