[][src]Function linux::syscall::ioctl_tiocgwinsz

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

Executes ioctl with the TIOCGWINSZ option.

[argument, fd] The file descriptor on which to operate.

[argument, size] Place where the window size will be stored.

= See also

  • link:man:tty_ioctl(2)