Searched refs:pty_fd (Results 1 - 2 of 2) sorted by relevance
/linux-4.1.27/arch/um/drivers/ |
H A D | chan_user.c | 140 int pty_fd; member in struct:winch_data 148 int pty_fd, pipe_fd; winch_thread() local 152 pty_fd = data->pty_fd; winch_thread() 182 if (ioctl(pty_fd, TIOCSCTTY, 0) < 0) { winch_thread() 184 "fd %d err = %d\n", pty_fd, errno); winch_thread() 188 if (tcsetpgrp(pty_fd, os_getpid()) < 0) { winch_thread() 190 "fd %d err = %d\n", pty_fd, errno); winch_thread() 233 data = ((struct winch_data) { .pty_fd = fd, winch_tramp()
|
/linux-4.1.27/Documentation/mic/mpssd/ |
H A D | mpssd.c | 731 int pty_fd; virtio_console() local 738 pty_fd = posix_openpt(O_RDWR); virtio_console() 739 if (pty_fd < 0) { virtio_console() 744 pts_name = ptsname(pty_fd); virtio_console() 751 err = grantpt(pty_fd); virtio_console() 757 err = unlockpt(pty_fd); virtio_console() 763 console_poll[MONITOR_FD].fd = pty_fd; virtio_console() 796 len = readv(pty_fd, copy.iov, copy.iovcnt); virtio_console() 858 len = writev(pty_fd, virtio_console() 889 close(pty_fd); virtio_console()
|
Completed in 104 milliseconds