Searched refs:tty_slave_fd (Results 1 - 1 of 1) sorted by relevance

/haiku/src/bin/consoled/
H A Dconsoled.cpp44 int tty_slave_fd; member in struct:console
300 con->tty_slave_fd = -1;
322 con->tty_slave_fd = open(name, O_RDWR);
323 if (con->tty_slave_fd < 0) {
332 if (tcgetattr(con->tty_slave_fd, &termios) == 0) {
337 tcsetattr(con->tty_slave_fd, TCSANOW, &termios);
343 ioctl(con->tty_slave_fd, TIOCSWINSZ, &size,
354 if (con->tty_master_fd < 0 || con->tty_slave_fd < 0)
379 close(con->tty_slave_fd);
396 dup2(con->tty_slave_fd,
[all...]

Completed in 77 milliseconds