[−][src]Function linux::syscall::ioctl_tcgets2
pub fn ioctl_tcgets2(fd: c_int, attrs: &mut termios2) -> c_int
Executes ioctl with the TCGETS2 option.
[argument, fd] The file descriptor on which to operate.
[argument, attrs] Place where the tty attributes will be stored.
= See also
- link:man:tty_ioctl(2) and TCGETS therein