Searched refs:winsz (Results 1 – 2 of 2) sorted by relevance
707 struct winsize winsz; in termio_resume_tty() local738 if (termio_ctl(td->tio_io, TIOCGWINSZ, &winsz) == 0) { in termio_resume_tty()739 if (winsz.ws_row != 0) in termio_resume_tty()740 td->tio_rows = (size_t)winsz.ws_row; in termio_resume_tty()741 if (winsz.ws_col != 0) in termio_resume_tty()742 td->tio_cols = (size_t)winsz.ws_col; in termio_resume_tty()1941 struct winsize winsz; in termio_winch() local1943 if (termio_ctl(td->tio_io, TIOCGWINSZ, &winsz) == -1) in termio_winch()1946 if (td->tio_rows != (size_t)winsz.ws_row || in termio_winch()1947 td->tio_cols != (size_t)winsz.ws_col) { in termio_winch()[all …]
531 struct winsize winsz; in mdb_iob_setpager() local544 if (IOP_CTL(pgio, TIOCGWINSZ, &winsz) == 0) in mdb_iob_setpager()545 mdb_iob_resize(iob, (size_t)winsz.ws_row, (size_t)winsz.ws_col); in mdb_iob_setpager()