Home | History | Annotate | Download | only in roken

Lines Matching refs:slave

87 static int slave;
105 if(openpty(&master, &slave, line, 0, 0) == 0)
129 slave = open(line, O_RDWR);
130 if (slave < 0)
131 errx(1, "failed to open slave when using %s", *q);
132 ioctl(slave, I_PUSH, "ptem");
133 ioctl(slave, I_PUSH, "ldterm");
362 dup2(slave, STDIN_FILENO);
363 dup2(slave, STDOUT_FILENO);
364 dup2(slave, STDERR_FILENO);
370 close(slave);