[][src]Function linux::syscall::ioctl_tiocsetd

pub fn ioctl_tiocsetd(fd: c_int, discipline: c_int) -> c_int

Executes ioctl with the TIOCSETD option.

[argument, fd] The file descriptor on which to operate.

[argument, discipline] The line discipline of the terminal.

= See also

  • link:man:tty_ioctl(2)