xref: /original-bsd/lib/libplot/aed/close.c (revision bbb96de4)
1 #ifndef lint
2 static char sccsid[] = "@(#)close.c	4.1 (Berkeley) 11/11/83";
3 #endif
4 
5 #include "aed.h"
6 
7 /*---------------------------------------------------------
8  *	Closepl does whatever is necessary to reset the characteristics
9  *	of the AED512 after the program is finished.
10  *
11  *	Results:	None.
12  *
13  *	Side Effects:
14  *	The graphics display modes are reset.
15  *---------------------------------------------------------
16  */
17 closepl()
18 {
19     fputs("Q00204\6", stdout);
20     (void) fflush(stdout);
21     (void) stty(fileno(stdout), &sgttyb);
22 }
23