148368Sbostic /*- 2*61240Sbostic * Copyright (c) 1980, 1993 3*61240Sbostic * The Regents of the University of California. All rights reserved. 448368Sbostic * 548368Sbostic * %sccs.include.proprietary.c% 621332Sdist */ 713770Ssam 826520Sdonn #if defined(LIBC_SCCS) && !defined(lint) 9*61240Sbostic static char sccsid[] = "@(#)stty.c 8.1 (Berkeley) 06/04/93"; 1048368Sbostic #endif /* LIBC_SCCS and not lint */ 1121332Sdist 121990Swnj /* 1313770Ssam * Writearound to old stty system call. 141990Swnj */ 151990Swnj 161990Swnj #include <sgtty.h> 171990Swnj 181990Swnj stty(fd, ap) 1913770Ssam struct sgtty *ap; 201990Swnj { 2113770Ssam 221990Swnj return(ioctl(fd, TIOCSETP, ap)); 231990Swnj } 24