xref: /csrg-svn/lib/libcompat/4.1/stty.c (revision 13770)
1*13770Ssam /*	stty.c	4.2	83/07/04	*/
2*13770Ssam 
31990Swnj /*
4*13770Ssam  * Writearound to old stty system call.
51990Swnj  */
61990Swnj 
71990Swnj #include <sgtty.h>
81990Swnj 
91990Swnj stty(fd, ap)
10*13770Ssam 	struct sgtty *ap;
111990Swnj {
12*13770Ssam 
131990Swnj 	return(ioctl(fd, TIOCSETP, ap));
141990Swnj }
15