Function rustix::termios::tcgetattr2

source ·
pub fn tcgetattr2<Fd: AsFd>(fd: Fd) -> Result<Termios2>
Expand description

tcgetattr2(fd)—Get terminal attributes.

Also known as the TCGETS2 operation with ioctl.

References