rustix::termios

Function tcsetwinsize

source
pub fn tcsetwinsize<Fd: AsFd>(fd: Fd, winsize: Winsize) -> Result<()>
Expand description

tcsetwinsize(fd)—Set the current terminal window size.

Also known as the TIOCSWINSZ operation with ioctl.

§References