xref: /csrg-svn/lib/libplot/hp2648/close.c (revision 19975)
1*19975Sdist /*
2*19975Sdist  * Copyright (c) 1980 Regents of the University of California.
3*19975Sdist  * All rights reserved.  The Berkeley software License Agreement
4*19975Sdist  * specifies the terms and conditions for redistribution.
5*19975Sdist  */
6*19975Sdist 
715447Sralph #ifndef lint
8*19975Sdist static char sccsid[] = "@(#)close.c	5.1 (Berkeley) 05/07/85";
9*19975Sdist #endif not lint
1015447Sralph 
1115447Sralph #include "hp2648.h"
1215447Sralph 
1315447Sralph closepl()
1415447Sralph {
1515447Sralph 	putchar('Z');
1615447Sralph 	fflush(stdout);
1715447Sralph 	if ( shakehands == TRUE ) {
1815447Sralph 		stty(fildes, &sarg);
1915447Sralph 		close(fildes);
2015447Sralph 	}
2115447Sralph }
22