4.4BSD snapshot (revision 8.1); add 1993 to copyright
[unix-history] / usr / src / lib / libplot / gigi / close.c
/*-
* Copyright (c) 1980, 1993
* The Regents of the University of California. All rights reserved.
*
* %sccs.include.proprietary.c%
*/
#ifndef lint
static char sccsid[] = "@(#)close.c 8.1 (Berkeley) %G%";
#endif /* not lint */
#include <signal.h>
#include "gigi.h"
void
closepl()
{
/* recieve interupts */
signal(SIGINT, SIG_IGN);
/* exit graphics mode */
putchar( ESC );
putchar('\\');
exit(0);
}