Searched refs:winsz (Results 1 – 2 of 2) sorted by relevance
762 struct winsize winsz; in termio_resume_tty() local793 if (termio_ctl(td->tio_io, TIOCGWINSZ, &winsz) == 0) { in termio_resume_tty()794 if (winsz.ws_row != 0) in termio_resume_tty()795 td->tio_rows = (size_t)winsz.ws_row; in termio_resume_tty()796 if (winsz.ws_col != 0) in termio_resume_tty()797 td->tio_cols = (size_t)winsz.ws_col; in termio_resume_tty()2091 struct winsize winsz; in termio_winch() local2093 if (termio_ctl(td->tio_io, TIOCGWINSZ, &winsz) == -1) in termio_winch()2096 if (td->tio_rows != (size_t)winsz.ws_row || in termio_winch()2097 td->tio_cols != (size_t)winsz.ws_col) { in termio_winch()[all …]
540 struct winsize winsz; in mdb_iob_setpager() local553 if (IOP_CTL(pgio, TIOCGWINSZ, &winsz) == 0) in mdb_iob_setpager()554 mdb_iob_resize(iob, (size_t)winsz.ws_row, (size_t)winsz.ws_col); in mdb_iob_setpager()