untested
This commit is contained in:
parent
f41b34e4bf
commit
89b37d465b
|
|
@ -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));
|
||||
}
|
||||
Loading…
Reference in New Issue