Annotation of 41BSD/libc/gen/stty.c, revision 1.1

1.1     ! root        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: }

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.