ws                 57 usr/bin/cmdbox/main.c 	struct winsize ws;
ws                 62 usr/bin/cmdbox/main.c 	if (ioctl(fileno(stderr), TIOCGWINSZ, &ws) == 0)
ws                 63 usr/bin/cmdbox/main.c 		maxcol = (int)ws.ws_col;
ws                 68 usr/bin/ls/ls.c 	struct winsize ws;
ws                106 usr/bin/ls/ls.c 		if (ioctl(STDOUT_FILENO, TIOCGWINSZ, &ws) == 0 &&
ws                107 usr/bin/ls/ls.c 		    ws.ws_col != 0) {
ws                108 usr/bin/ls/ls.c 			termwidth = ws.ws_col;
ws                 47 usr/bin/more/more.c 	struct winsize ws;
ws                 64 usr/bin/more/more.c 	if (ioctl(0, TIOCGWINSZ, &ws) == 0)
ws                 65 usr/bin/more/more.c 		height = (int)ws.ws_row;
ws                108 usr/sample/balls/balls.c 	struct winsize ws;
ws                114 usr/sample/balls/balls.c 	if (device_ioctl(cons, TIOCGWINSZ, &ws) == 0) {
ws                115 usr/sample/balls/balls.c 		rows = (int)ws.ws_row;
ws                116 usr/sample/balls/balls.c 		cols = (int)ws.ws_col;
ws                 81 usr/sample/tetris/screen.c 	struct winsize ws;
ws                 85 usr/sample/tetris/screen.c 	if (ioctl(0, TIOCGWINSZ, &ws) == 0) {
ws                 86 usr/sample/tetris/screen.c 		Rows = (int)ws.ws_row;
ws                 87 usr/sample/tetris/screen.c 		Cols = (int)ws.ws_col;