Home
last modified time | relevance | path

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

/titanic_41/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dsetup.c482 struct winsize wininfo; local
483 if (ioctl(fd, TIOCGWINSZ, &wininfo) != -1) {
484 if (0 < wininfo.ws_col)
485 columns = wininfo.ws_col;
486 if (0 < wininfo.ws_row)
487 lines = wininfo.ws_row;
/titanic_41/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dsetup.c507 struct winsize wininfo; in restartterm() local
508 if (ioctl(fd, TIOCGWINSZ, &wininfo) != -1) { in restartterm()
509 if (0 < wininfo.ws_col) in restartterm()
510 columns = wininfo.ws_col; in restartterm()
511 if (0 < wininfo.ws_row) in restartterm()
512 lines = wininfo.ws_row; in restartterm()