1: /* 2: * Copyright (c) 1980 Regents of the University of California. 3: * All rights reserved. The Berkeley software License Agreement 4: * specifies the terms and conditions for redistribution. 5: */ 6: 7: #ifndef lint 8: static char sccsid[] = "@(#)close.c 5.1 (Berkeley) 5/7/85"; 9: #endif not lint 10: 11: #include "hp2648.h" 12: 13: closepl() 14: { 15: putchar('Z'); 16: fflush(stdout); 17: if ( shakehands == TRUE ) { 18: stty(fildes, &sarg); 19: close(fildes); 20: } 21: }