Executes ioctl with the TIOCSCTTY option.
fn ioctl_tiocsctty(fd: i32, steal: bool) -> i32
The file descriptor on which to operate.
Whether to steal the terminal.
tty_ioctl(2)