int
main()
{
	struct winsize ws;
	int fd;

	
	fd = open(, O_RDWR);
	if (fd < 0)
		err(1, );

	 
	if (ioctl(fd, TIOCGWINSZ, &ws) < 0)
		err(1, );

	printf(, ws.ws_row, ws.ws_col);
	printf(, ws.ws_xpixel, ws.ws_ypixel);

	close(fd);	
	return 0;
}