summaryrefslogtreecommitdiffstats
path: root/libc-top-half/musl/src/termios/tcsetwinsize.c
blob: e01d0e2546a974bfdc5300e480248a57395e89a9 (plain)
1
2
3
4
5
6
7
8
#include <termios.h>
#include <sys/ioctl.h>
#include "syscall.h"

int tcsetwinsize(int fd, const struct winsize *wsz)
{
	return syscall(SYS_ioctl, fd, TIOCSWINSZ, wsz);
}