1: /*	@(#)stty.c	2.1	SCCS id keyword	*/
   2: /*
   3:  * Writearound to old stty and gtty system calls
   4:  */
   5: 
   6: #include <sgtty.h>
   7: 
   8: stty(fd, ap)
   9: struct sgtty *ap;
  10: {
  11:     return(ioctl(fd, TIOCSETP, ap));
  12: }
  13: 
  14: gtty(fd, ap)
  15: struct sgtty *ap;
  16: {
  17:     return(ioctl(fd, TIOCGETP, ap));
  18: }

Defined functions

gtty defined in line 14; used 68 times
stty defined in line 8; used 88 times
Last modified: 1981-07-10
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 773
Valid CSS Valid XHTML 1.0 Strict