|
|
BSD 3.0
/*
* 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));
}
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.