/*
 * ioctl on tty: trigger ioctl tracking
 */

#include <fcntl.h>
#include <unistd.h>
#include <sys/ioctl.h>
#include <termios.h>

int main(void)
{
	int fd = open("/dev/null", O_RDWR);
	if (fd >= 0) {
		struct winsize ws;
		ioctl(fd, TIOCGWINSZ, &ws);
		close(fd);
	}
	return 0;
}
