xref: /csrg-svn/lib/libplot/gigi/close.c (revision 15487)
1*15487Sralph #ifndef lint
2*15487Sralph static char sccsid[] = "@(#)close.c	4.1 (Berkeley) 11/10/83";
3*15487Sralph #endif
4*15487Sralph 
5*15487Sralph #include <signal.h>
6*15487Sralph #include "gigi.h"
7*15487Sralph 
8*15487Sralph closepl()
9*15487Sralph {
10*15487Sralph 	/* recieve interupts */
11*15487Sralph 	signal(SIGINT, SIG_IGN);
12*15487Sralph 
13*15487Sralph 	/* exit graphics mode */
14*15487Sralph 	putchar( ESC );
15*15487Sralph 	putchar('\\');
16*15487Sralph 
17*15487Sralph 	exit(0);
18*15487Sralph }
19