Searched refs:pty (Results 1 – 8 of 8) sorted by relevance
76 auto pty = posix_openpt(O_RDWR | O_NOCTTY | O_NONBLOCK); in OpenPTY() local77 CHECK(pty >= 0) << "Failed to open a PTY: " << strerror(errno); in OpenPTY()79 CHECK_EQ(grantpt(pty), 0) << strerror(errno); in OpenPTY()80 CHECK_EQ(unlockpt(pty), 0) << strerror(errno); in OpenPTY()83 CHECK_EQ(ioctl(pty, TIOCPKT, &packet_mode_enabled), 0) << strerror(errno); in OpenPTY()85 auto pty_dev_name = ptsname(pty); in OpenPTY()93 auto pty_shared_fd = SharedFD::Dup(pty); in OpenPTY()94 close(pty); in OpenPTY()96 << "Error dupping fd " << pty << ": " << pty_shared_fd->StrError(); in OpenPTY()
251 __u8 pty; member260 __u8 pty; member503 __u8 pty; member
219 __u8 pty; member227 __u8 pty; member426 __u8 pty; member
207 __u8 pty; member215 __u8 pty; member414 __u8 pty; member
255 __u8 pty; member264 __u8 pty; member507 __u8 pty; member
5 host_pty [label = "/dev/pty/###", shape = "rectangle"]