date and time created 83/11/11 15:12:27 by ralph
[unix-history] / usr / src / lib / libplot / dumb / close.c
CommitLineData
08a7774a
RC
1#ifndef lint
2static char sccsid[] = "@(#)close.c 4.1 (Berkeley) %G%";
3#endif
4
5#include <signal.h>
6#include "dumb.h"
7
8closepl()
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}