rustix::termios

Function tcgetattr

source
pub fn tcgetattr<Fd: AsFd>(fd: Fd) -> Result<Termios>
Expand description

tcgetattr(fd)—Get terminal attributes.

Also known as the TCGETS (or TCGETS2 on Linux) operation with ioctl.

§References