Returns the line discipline of this terminal.
impl Tty { fn line_discipline(&self) -> Result<LineDiscipline, Errno> }
tty_ioctl(4) and TIOCGETD therein