xref: /original-bsd/lib/libplot/hp2648/close.c (revision e66a5d85)
1 /*-
2  * Copyright (c) 1980 The Regents of the University of California.
3  * All rights reserved.
4  *
5  * %sccs.include.proprietary.c%
6  */
7 
8 #ifndef lint
9 static char sccsid[] = "@(#)close.c	5.2 (Berkeley) 04/22/91";
10 #endif /* not lint */
11 
12 #include "hp2648.h"
13 
14 closepl()
15 {
16 	putchar('Z');
17 	fflush(stdout);
18 	if ( shakehands == TRUE ) {
19 		stty(fildes, &sarg);
20 		close(fildes);
21 	}
22 }
23