Function lrs::syscall::ioctl_tiocgwinsz

Executes ioctl with the TIOCGWINSZ option.

Syntax

fn ioctl_tiocgwinsz(fd: i32, size: &mut winsize) -> i32

Arguments

NameDescription
fd

The file descriptor on which to operate.

size

Place where the window size will be stored.

See also