/freebsd-11-stable/usr.bin/who/ |
H A D | who.c | 311 if (ioctl(STDOUT_FILENO, TIOCGWINSZ, &ws) != -1)
|
/freebsd-11-stable/usr.bin/mail/ |
H A D | main.c | 372 if (ioctl(1, TIOCGWINSZ, (char *)&ws) < 0)
|
/freebsd-11-stable/contrib/ee/ |
H A D | new_curse.c | 91 #ifdef TIOCGWINSZ 746 #ifdef TIOCGWINSZ 747 if (ioctl(0, TIOCGWINSZ, &ws) >= 0) 756 #endif /* TIOCGWINSZ */ 1000 #ifdef TIOCGWINSZ 1004 if (ioctl(0, TIOCGWINSZ, &ws) >= 0)
|
/freebsd-11-stable/contrib/ncurses/ncurses/tinfo/ |
H A D | lib_setup.c | 81 * Solaris, IRIX) define TIOCGWINSZ and struct winsize. 89 # ifdef TIOCGWINSZ 90 # define IOCTL_WINSIZE TIOCGWINSZ
|
H A D | tinfo_driver.c | 57 * Solaris, IRIX) define TIOCGWINSZ and struct winsize. 65 # ifdef TIOCGWINSZ 66 # define IOCTL_WINSIZE TIOCGWINSZ
|
/freebsd-11-stable/contrib/libreadline/ |
H A D | rltty.c | 147 #if defined (TIOCGWINSZ) 150 if (ioctl (tty, TIOCGWINSZ, &w) == 0) 152 #endif /* TIOCGWINSZ */
|
/freebsd-11-stable/contrib/telnet/telnet/ |
H A D | sys_bsd.c | 714 #ifdef TIOCGWINSZ 717 if (ioctl(fileno(stdin), TIOCGWINSZ, (char *)&ws) >= 0) { 722 #endif /* TIOCGWINSZ */
|
/freebsd-11-stable/usr.bin/column/ |
H A D | column.c | 90 if (ioctl(1, TIOCGWINSZ, &win) == -1 || !win.ws_col) {
|
/freebsd-11-stable/lib/libdpv/ |
H A D | dialog_util.c | 98 if ((tcgetattr(fd, &t) < 0) || (ioctl(fd, TIOCGWINSZ, maxsize) < 0)) {
|
/freebsd-11-stable/sbin/fsdb/ |
H A D | fsdbutil.c | 216 if (ioctl(0, TIOCGWINSZ, &ws) != -1)
|
/freebsd-11-stable/bin/ps/ |
H A D | ps.c | 197 else if ((ioctl(STDOUT_FILENO, TIOCGWINSZ, (char *)&ws) == -1 && 198 ioctl(STDERR_FILENO, TIOCGWINSZ, (char *)&ws) == -1 && 199 ioctl(STDIN_FILENO, TIOCGWINSZ, (char *)&ws) == -1) ||
|
/freebsd-11-stable/contrib/nvi/cl/ |
H A D | cl_term.c | 378 * Try TIOCGWINSZ. 381 if (ioctl(STDERR_FILENO, TIOCGWINSZ, &win) != -1) { 385 /* If here because of suspend or a signal, only trust TIOCGWINSZ. */ 388 * Somebody didn't get TIOCGWINSZ right, or has suspend 422 * If TIOCGWINSZ failed, or had entries of 0, try termcap. This
|
/freebsd-11-stable/usr.bin/rlogin/ |
H A D | rlogin.c | 103 #define get_window_size(fd, wp) ioctl(fd, TIOCGWINSZ, wp)
|
/freebsd-11-stable/usr.bin/script/ |
H A D | script.c | 180 if (ioctl(STDIN_FILENO, TIOCGWINSZ, &win) == -1)
|
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_platform_limits_solaris.cpp | 167 unsigned IOCTL_TIOCGWINSZ = TIOCGWINSZ;
|
/freebsd-11-stable/contrib/ncurses/progs/ |
H A D | tset.c | 126 * Solaris, IRIX) define TIOCGWINSZ and struct winsize. 135 # ifdef TIOCGWINSZ 136 # define IOCTL_GET_WINSIZE TIOCGWINSZ
|
/freebsd-11-stable/contrib/subversion/subversion/svn/ |
H A D | file-merge.c | 314 #ifdef TIOCGWINSZ 323 error = ioctl(fd, TIOCGWINSZ, &ws);
|
/freebsd-11-stable/contrib/telnet/telnetd/ |
H A D | sys_term.c | 789 # ifdef TIOCGWINSZ 829 # ifdef TIOCGWINSZ
|
/freebsd-11-stable/contrib/llvm-project/lldb/tools/driver/ |
H A D | Driver.cpp | 490 ::ioctl(STDIN_FILENO, TIOCGWINSZ, &window_size) == 0) { 694 ::ioctl(STDIN_FILENO, TIOCGWINSZ, &window_size) == 0) {
|
/freebsd-11-stable/crypto/openssh/ |
H A D | sftp.c | 824 if (ioctl(fileno(stdin), TIOCGWINSZ, &ws) != -1) 923 if (ioctl(fileno(stdin), TIOCGWINSZ, &ws) != -1) 1693 if (ioctl(fileno(stdin), TIOCGWINSZ, &ws) != -1)
|
/freebsd-11-stable/bin/ls/ |
H A D | ls.c | 175 else if (ioctl(STDOUT_FILENO, TIOCGWINSZ, &win) != -1 &&
|
/freebsd-11-stable/contrib/nvi/ex/ |
H A D | ex_script.c | 118 if (ioctl(STDIN_FILENO, TIOCGWINSZ, &sc->sh_win) == -1) {
|
/freebsd-11-stable/usr.bin/ministat/ |
H A D | ministat.c | 550 else if (ioctl(STDOUT_FILENO, TIOCGWINSZ, &wsz) != -1 &&
|
/freebsd-11-stable/usr.bin/msgs/ |
H A D | msgs.c | 448 if (ioctl(fileno(stdout), TIOCGWINSZ, &win) != -1)
|
/freebsd-11-stable/usr.bin/sed/ |
H A D | process.c | 601 else if (ioctl(STDOUT_FILENO, TIOCGWINSZ, &win) == 0 &&
|