1*21332Sdist /* 2*21332Sdist * Copyright (c) 1980 Regents of the University of California. 3*21332Sdist * All rights reserved. The Berkeley software License Agreement 4*21332Sdist * specifies the terms and conditions for redistribution. 5*21332Sdist */ 613770Ssam 7*21332Sdist #ifndef lint 8*21332Sdist static char sccsid[] = "@(#)stty.c 5.1 (Berkeley) 05/30/85"; 9*21332Sdist #endif not lint 10*21332Sdist 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