Home
last modified time | relevance | path

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

/titanic_41/usr/src/cmd/mdb/common/mdb/
H A Dmdb_termio.c707 struct winsize winsz; in termio_resume_tty() local
738 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() local
1943 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 …]
H A Dmdb_io.c531 struct winsize winsz; in mdb_iob_setpager() local
544 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()