Lines Matching defs:slave
68 int master, slave;
85 slave = pt.sfd;
119 (slave = open(line, O_RDWR, 0)) != -1) {
122 *aslave = slave;
126 (void)tcsetattr(slave, TCSAFLUSH, term);
128 (void)ioctl(slave, TIOCSWINSZ, winp);
141 int master, slave;
149 if (openpty(&master, &slave, name, term, winp) == -1)
159 login_tty(slave);
166 (void)close(slave);