Annotation of 43BSDReno/libexec/getty/ttydefaults.c, revision 1.1

1.1     ! root        1: #include <sys/termios.h>
        !             2: 
        !             3: set_ttydefaults(fd)
        !             4:        int fd;
        !             5: {
        !             6:        struct termios term;
        !             7: 
        !             8:        tcgetattr(fd, &term);
        !             9:        term.c_iflag = TTYDEF_IFLAG;
        !            10:        term.c_oflag = TTYDEF_OFLAG;
        !            11:        term.c_lflag = TTYDEF_LFLAG;
        !            12:        term.c_cflag = TTYDEF_CFLAG;
        !            13:        tcsetattr(fd, TCSAFLUSH, &term);
        !            14: }

unix.superglobalmegacorp.com

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