xref: /csrg-svn/lib/libplot/hp2648/close.c (revision 61393)
148517Sbostic /*-
2*61393Sbostic  * Copyright (c) 1980, 1993
3*61393Sbostic  *	The Regents of the University of California.  All rights reserved.
448517Sbostic  *
548517Sbostic  * %sccs.include.proprietary.c%
619975Sdist  */
719975Sdist 
815447Sralph #ifndef lint
9*61393Sbostic static char sccsid[] = "@(#)close.c	8.1 (Berkeley) 06/04/93";
1048517Sbostic #endif /* not lint */
1115447Sralph 
1215447Sralph #include "hp2648.h"
1315447Sralph 
closepl()1415447Sralph closepl()
1515447Sralph {
1615447Sralph 	putchar('Z');
1715447Sralph 	fflush(stdout);
1815447Sralph 	if ( shakehands == TRUE ) {
1915447Sralph 		stty(fildes, &sarg);
2015447Sralph 		close(fildes);
2115447Sralph 	}
2215447Sralph }
23