Executes ioctl with the TIOCSETD option.
fn ioctl_tiocsetd(fd: i32, discipline: i32) -> i32
The file descriptor on which to operate.
The line discipline of the terminal.
tty_ioctl(2)