Function lrs::syscall::ioctl_tcgets2

Executes ioctl with the TCGETS2 option.

Syntax

fn ioctl_tcgets2(fd: i32, attrs: &mut termios2) -> i32

Arguments

NameDescription
fd

The file descriptor on which to operate.

attrs

Place where the tty attributes will be stored.

See also