Annotation of 42BSD/lib/libc/compat-4.1/gtty.c, revision 1.1

1.1     ! root        1: /*     gtty.c  4.1     83/07/04        */
        !             2: 
        !             3: /*
        !             4:  * Writearound to old gtty system call.
        !             5:  */
        !             6: 
        !             7: #include <sgtty.h>
        !             8: 
        !             9: gtty(fd, ap)
        !            10:        struct sgtty *ap;
        !            11: {
        !            12: 
        !            13:        return(ioctl(fd, TIOCGETP, ap));
        !            14: }

unix.superglobalmegacorp.com

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