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

/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_termio.c756 struct winsize winsz; local
782 * so we can restore them later. Then derive rtios, dtios, and winsz.
787 if (termio_ctl(td->tio_io, TIOCGWINSZ, &winsz) == 0) {
788 if (winsz.ws_row != 0)
789 td->tio_rows = (size_t)winsz.ws_row;
790 if (winsz.ws_col != 0)
791 td->tio_cols = (size_t)winsz.ws_col;
2000 struct winsize winsz; local
2002 if (termio_ctl(td->tio_io, TIOCGWINSZ, &winsz) == -1)
2005 if (td->tio_rows != (size_t)winsz
[all...]
H A Dmdb_io.c532 struct winsize winsz; local
545 if (IOP_CTL(pgio, TIOCGWINSZ, &winsz) == 0)
546 mdb_iob_resize(iob, (size_t)winsz.ws_row, (size_t)winsz.ws_col);

Completed in 51 milliseconds