121332Sdist /* 221332Sdist * Copyright (c) 1980 Regents of the University of California. 321332Sdist * All rights reserved. The Berkeley software License Agreement 421332Sdist * specifies the terms and conditions for redistribution. 521332Sdist */ 613770Ssam 7*26520Sdonn #if defined(LIBC_SCCS) && !defined(lint) 8*26520Sdonn static char sccsid[] = "@(#)stty.c 5.2 (Berkeley) 03/09/86"; 9*26520Sdonn #endif LIBC_SCCS and not lint 1021332Sdist 111990Swnj /* 1213770Ssam * Writearound to old stty system call. 131990Swnj */ 141990Swnj 151990Swnj #include <sgtty.h> 161990Swnj 171990Swnj stty(fd, ap) 1813770Ssam struct sgtty *ap; 191990Swnj { 2013770Ssam 211990Swnj return(ioctl(fd, TIOCSETP, ap)); 221990Swnj } 23