Function termios::tcgetattr [] [src]

pub fn tcgetattr(fd: RawFd, termios: &mut Termios) -> Result<()>

Populates a Termios structure with parameters associated with a terminal.

Upon successful completion, the Termios structure referred to by the termios parameter will contain the parameters associated with the terminal device referred to by fd.

Parameters