Executes ioctl with the TIOCSWINSZ option.
fn ioctl_tiocswinsz(fd: i32, size: &winsize) -> i32
The file descriptor on which to operate.
The new window size.
tty_ioctl(2)