Home
last modified time | relevance | path

Searched refs:slave_fd (Results 1 – 1 of 1) sorted by relevance

/xen/tools/console/daemon/
A Dio.c97 int slave_fd; member
500 if (con->slave_fd != -1) { in console_close_tty()
501 close(con->slave_fd); in console_close_tty()
502 con->slave_fd = -1; in console_close_tty()
577 assert(con->slave_fd == -1); in console_create_tty()
580 if (openpty(&con->master_fd, &con->slave_fd, NULL, NULL, NULL) < 0) { in console_create_tty()
588 if (tcgetattr(con->slave_fd, &term) < 0) { in console_create_tty()
596 if (tcsetattr(con->slave_fd, TCSANOW, &term) < 0) { in console_create_tty()
830 con->slave_fd = -1; in console_init()

Completed in 4 milliseconds