1: /*
   2:  * Writearound to old stty and gtty system calls
   3:  */
   4: 
   5: #include <sgtty.h>
   6: 
   7: stty(fd, ap)
   8: struct sgtty *ap;
   9: {
  10:     return(ioctl(fd, TIOCSETP, ap));
  11: }
  12: 
  13: gtty(fd, ap)
  14: struct sgtty *ap;
  15: {
  16:     return(ioctl(fd, TIOCGETP, ap));
  17: }
Last modified: 1979-01-10
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 460
Valid CSS Valid XHTML 1.0 Strict