Searched refs:child_fd (Results 1 – 2 of 2) sorted by relevance
510 int child_fd = adb_open(pts_name, O_RDWR | O_CLOEXEC); in OpenPtyChildFd() local511 if (child_fd == -1) { in OpenPtyChildFd()524 if (tcgetattr(child_fd, &tattr) == -1) { in OpenPtyChildFd()532 if (tcsetattr(child_fd, TCSADRAIN, &tattr) == -1) { in OpenPtyChildFd()540 return child_fd; in OpenPtyChildFd()
42 FdMapping { parent_fd: self.owned_fd.as_raw_fd(), child_fd: self.target_fd } in as_fd_mapping()