2.9BSD/usr/src/lib/c/gen/stty.c

Compare this file to the similar file:
Show the results in this format:

/*	@(#)stty.c	2.1	SCCS id keyword	*/
/*
 * Writearound to old stty and gtty system calls
 */

#include <sgtty.h>

stty(fd, ap)
struct sgtty *ap;
{
	return(ioctl(fd, TIOCSETP, ap));
}

gtty(fd, ap)
struct sgtty *ap;
{
	return(ioctl(fd, TIOCGETP, ap));
}