This commit is contained in:
Oliver Lehmann 2009-08-26 12:29:01 +00:00
parent f41b34e4bf
commit 89b37d465b
1 changed files with 17 additions and 0 deletions

View File

@ -0,0 +1,17 @@
/*
* 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));
}