diff --git a/WEGA/src/lib/libc/gen/stty.c b/WEGA/src/lib/libc/gen/stty.c new file mode 100644 index 0000000..1712124 --- /dev/null +++ b/WEGA/src/lib/libc/gen/stty.c @@ -0,0 +1,17 @@ +/* + * Writearound to old stty and gtty system calls + */ + +#include + +stty(fd, ap) +struct sgtty *ap; +{ + return(ioctl(fd, TIOCSETP, ap)); +} + +gtty(fd, ap) +struct sgtty *ap; +{ + return(ioctl(fd, TIOCGETP, ap)); +}