devela::_dep::rustix::pty

Function ioctl_tiocgptpeer

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

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

This function is currently only implemented on Linux.

§References