pub fn tcgetattr2<Fd: AsFd>(fd: Fd) -> Result<Termios2>
tcgetattr2(fd)—Get terminal attributes.
tcgetattr2(fd)
Also known as the TCGETS2 operation with ioctl.
TCGETS2
ioctl
tcgetattr
ioctl_tty
termios