/netbsd-6-1-5-RELEASE/dist/nvi/ex/ |
H A D | script.h | 21 #ifdef TIOCGWINSZ
|
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/readline/ |
H A D | rlwinsize.h | 2 for `struct winsize' and TIOCGWINSZ. */ 34 #if defined (GWINSZ_IN_SYS_IOCTL) && !defined (TIOCGWINSZ) 36 #endif /* GWINSZ_IN_SYS_IOCTL && !TIOCGWINSZ */
|
H A D | terminal.c | 58 #if defined (GWINSZ_IN_SYS_IOCTL) && !defined (TIOCGWINSZ) 60 #endif /* GWINSZ_IN_SYS_IOCTL && !TIOCGWINSZ */ 211 #if defined (TIOCGWINSZ) 213 #endif /* TIOCGWINSZ */ 217 #if defined (TIOCGWINSZ) 218 if (ioctl (tty, TIOCGWINSZ, &window_size) == 0) 223 #endif /* TIOCGWINSZ */
|
/netbsd-6-1-5-RELEASE/crypto/external/bsd/heimdal/dist/lib/roken/ |
H A D | get_window_size.c | 68 #if defined(TIOCGWINSZ) 71 ret = ioctl(fd, TIOCGWINSZ, &ws);
|
/netbsd-6-1-5-RELEASE/sys/sys/ |
H A D | ioctl.h | 45 * Pun for SunOS prior to 3.2. SunOS 3.2 and later support TIOCGWINSZ 55 #define TIOCGSIZE TIOCGWINSZ
|
H A D | ttycom.h | 128 #define TIOCGWINSZ _IOR('t', 104, struct winsize) /* get window size */ macro
|
/netbsd-6-1-5-RELEASE/distrib/utils/more/ |
H A D | screen.c | 74 #ifdef TIOCGWINSZ 247 #ifdef TIOCGWINSZ 267 #ifdef TIOCGWINSZ 268 if (ioctl(2, TIOCGWINSZ, &w) == 0 && w.ws_row > 0) 284 #ifdef TIOCGWINSZ 285 if (ioctl(2, TIOCGWINSZ, &w) == 0 && w.ws_col > 0)
|
/netbsd-6-1-5-RELEASE/usr.bin/tset/ |
H A D | tset.c | 62 #ifdef TIOCGWINSZ 159 #ifdef TIOCGWINSZ 161 (void)ioctl(STDERR_FILENO, TIOCGWINSZ, &win);
|
/netbsd-6-1-5-RELEASE/usr.bin/window/ |
H A D | wwtty.c | 45 #if !defined(OLD_TTY) && !defined(TIOCGWINSZ) 126 if (ioctl(d, TIOCGWINSZ, (char *)&winsize) < 0) {
|
/netbsd-6-1-5-RELEASE/bin/stty/ |
H A D | stty.c | 106 if (ioctl(i.fd, TIOCGWINSZ, &i.win) < 0) 107 warn("TIOCGWINSZ");
|
/netbsd-6-1-5-RELEASE/sbin/fsck/ |
H A D | progress.c | 160 if (ioctl(fileno(stdout), TIOCGWINSZ, &winsize) != -1 &&
|
/netbsd-6-1-5-RELEASE/external/bsd/top/dist/ |
H A D | screen.c | 171 #ifdef TIOCGWINSZ 175 if (ioctl (1, TIOCGWINSZ, &ws) != -1) 205 #endif /* TIOCGWINSZ */
|
/netbsd-6-1-5-RELEASE/lib/libcurses/ |
H A D | tstp.c | 142 if (ioctl(fileno(_cursesi_screen->outfd), TIOCGWINSZ, &win) != -1 && 277 if (ioctl(fileno(_cursesi_screen->outfd), TIOCGWINSZ, &win) != -1 &&
|
/netbsd-6-1-5-RELEASE/bin/ksh/ |
H A D | edit.c | 31 #if defined(TIOCGWINSZ) 35 #endif /* TIOCGWINSZ */ 57 #ifdef TIOCGWINSZ 64 #endif /* TIOCGWINSZ */ 88 #if defined(TIOCGWINSZ) 104 if (procpid == kshpid && ioctl(tty_fd, TIOCGWINSZ, &ws) >= 0) { 126 #endif /* TIOCGWINSZ */ 151 #if defined(TIOCGWINSZ) 154 #endif /* TIOCGWINSZ */
|
/netbsd-6-1-5-RELEASE/dist/nvi/cl/ |
H A D | cl_term.c | 357 #ifdef TIOCGWINSZ 377 * Try TIOCGWINSZ. 380 #ifdef TIOCGWINSZ 381 if (ioctl(STDERR_FILENO, TIOCGWINSZ, &win) != -1) { 386 /* If here because of suspend or a signal, only trust TIOCGWINSZ. */ 389 * Somebody didn't get TIOCGWINSZ right, or has suspend 424 * If TIOCGWINSZ failed, or had entries of 0, try termcap. This
|
/netbsd-6-1-5-RELEASE/bin/kill/ |
H A D | kill.c | 221 if (ioctl(fileno(fp), TIOCGWINSZ, &win) == 0 && win.ws_col > 0)
|
/netbsd-6-1-5-RELEASE/external/bsd/atf/dist/atf-c++/detail/ |
H A D | ui.cpp | 63 if (ioctl(STDOUT_FILENO, TIOCGWINSZ, &ws) != -1)
|
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/unit/atf-src/atf-c++/detail/ |
H A D | ui.cpp | 62 if (ioctl(STDOUT_FILENO, TIOCGWINSZ, &ws) != -1)
|
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/readline/examples/ |
H A D | rlptytest.c | 260 if(ioctl(fd, TIOCGWINSZ, (char *)&size) < 0)
|
/netbsd-6-1-5-RELEASE/usr.bin/tabs/ |
H A D | tabs.c | 211 if (ioctl(STDOUT_FILENO, TIOCGWINSZ, &ws) == 0)
|
/netbsd-6-1-5-RELEASE/bin/ps/ |
H A D | ps.c | 210 if ((ioctl(STDOUT_FILENO, TIOCGWINSZ, (char *)&ws) == -1 && 211 ioctl(STDERR_FILENO, TIOCGWINSZ, (char *)&ws) == -1 && 212 ioctl(STDIN_FILENO, TIOCGWINSZ, (char *)&ws) == -1) ||
|
/netbsd-6-1-5-RELEASE/usr.bin/w/ |
H A D | w.c | 325 if ((ioctl(STDOUT_FILENO, TIOCGWINSZ, &ws) == -1 && 326 ioctl(STDERR_FILENO, TIOCGWINSZ, &ws) == -1 && 327 ioctl(STDIN_FILENO, TIOCGWINSZ, &ws) == -1) || ws.ws_col == 0)
|
/netbsd-6-1-5-RELEASE/gnu/dist/texinfo/info/ |
H A D | terminal.c | 465 #if defined (TIOCGWINSZ) 469 if (ioctl (fileno (stdout), TIOCGWINSZ, &window_size) == 0) 475 #endif /* TIOCGWINSZ */
|
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/readline/examples/rlfe/ |
H A D | rlfe.c | 439 if (ioctl(STDIN_FILENO, TIOCGWINSZ, &ws) < 0) 576 if (ioctl (STDIN_FILENO, TIOCGWINSZ, &ws) >= 0)
|
/netbsd-6-1-5-RELEASE/usr.sbin/installboot/ |
H A D | installboot.c | 488 #ifdef TIOCGWINSZ 491 if (ioctl(fileno(stderr), TIOCGWINSZ, &win) == 0 && win.ws_col > 0)
|