Function rustix::pty::ioctl_tiocgptpeer

source ·
pub fn ioctl_tiocgptpeer<Fd: AsFd>(
    fd: Fd,
    flags: OpenptFlags
) -> Result<OwnedFd>
Available on crate feature pty only.
Expand description

ioctl(fd, TIOCGPTPEER)—Open the user side of a pseduoterminal.

This function is currently only implemented on Linux.

References