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