pub fn ioctl_tiocgptpeer<Fd>( fd: Fd, flags: OpenptFlags, ) -> Result<OwnedFd, Errno> ⓘwhere Fd: AsFd,
dep_rustix
ioctl(fd, TIOCGPTPEER)—Open the user side of a pseudoterminal.
ioctl(fd, TIOCGPTPEER)
This function is currently only implemented on Linux.