[][src]Function linux::syscall::ioctl_tiocgetd

pub fn ioctl_tiocgetd(fd: c_int, discipline: &mut c_int) -> c_int

Executes ioctl with the TIOCGETD option.

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

[argument, discipline] Place where the line discipline of the terminal will be stored.

= See also

  • link:man:tty_ioctl(2)