Searched refs:tty_slave_fd (Results 1 – 1 of 1) sorted by relevance
44 int tty_slave_fd; member300 con->tty_slave_fd = -1; in start_console()322 con->tty_slave_fd = open(name, O_RDWR); in start_console()323 if (con->tty_slave_fd < 0) { in start_console()332 if (tcgetattr(con->tty_slave_fd, &termios) == 0) { in start_console()337 tcsetattr(con->tty_slave_fd, TCSANOW, &termios); in start_console()343 ioctl(con->tty_slave_fd, TIOCSWINSZ, &size, in start_console()354 if (con->tty_master_fd < 0 || con->tty_slave_fd < 0) in start_console()379 close(con->tty_slave_fd); in stop_console()396 dup2(con->tty_slave_fd, 0); in start_process()[all …]