Home
last modified time | relevance | path

Searched refs:winsz (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_termio.c762 struct winsize winsz; in termio_resume_tty() local
793 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() local
2093 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 …]
H A Dmdb_io.c540 struct winsize winsz; in mdb_iob_setpager() local
553 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()