Function rustix::process::ioctl_tiocsctty
source · pub fn ioctl_tiocsctty<Fd: AsFd>(fd: Fd) -> Result<()>
Available on crate feature
process
only.Expand description
ioctl(fd, TIOCSCTTY, 0)
—Sets the controlling terminal for the processs.