Searched refs:TIOCGWINSZ (Results 1 - 25 of 73) sorted by relevance

123

/netbsd-6-1-5-RELEASE/dist/nvi/ex/
H A Dscript.h21 #ifdef TIOCGWINSZ
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/readline/
H A Drlwinsize.h2 for `struct winsize' and TIOCGWINSZ. */
34 #if defined (GWINSZ_IN_SYS_IOCTL) && !defined (TIOCGWINSZ)
36 #endif /* GWINSZ_IN_SYS_IOCTL && !TIOCGWINSZ */
H A Dterminal.c58 #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 Dget_window_size.c68 #if defined(TIOCGWINSZ)
71 ret = ioctl(fd, TIOCGWINSZ, &ws);
/netbsd-6-1-5-RELEASE/sys/sys/
H A Dioctl.h45 * Pun for SunOS prior to 3.2. SunOS 3.2 and later support TIOCGWINSZ
55 #define TIOCGSIZE TIOCGWINSZ
H A Dttycom.h128 #define TIOCGWINSZ _IOR('t', 104, struct winsize) /* get window size */ macro
/netbsd-6-1-5-RELEASE/distrib/utils/more/
H A Dscreen.c74 #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 Dtset.c62 #ifdef TIOCGWINSZ
159 #ifdef TIOCGWINSZ
161 (void)ioctl(STDERR_FILENO, TIOCGWINSZ, &win);
/netbsd-6-1-5-RELEASE/usr.bin/window/
H A Dwwtty.c45 #if !defined(OLD_TTY) && !defined(TIOCGWINSZ)
126 if (ioctl(d, TIOCGWINSZ, (char *)&winsize) < 0) {
/netbsd-6-1-5-RELEASE/bin/stty/
H A Dstty.c106 if (ioctl(i.fd, TIOCGWINSZ, &i.win) < 0)
107 warn("TIOCGWINSZ");
/netbsd-6-1-5-RELEASE/sbin/fsck/
H A Dprogress.c160 if (ioctl(fileno(stdout), TIOCGWINSZ, &winsize) != -1 &&
/netbsd-6-1-5-RELEASE/external/bsd/top/dist/
H A Dscreen.c171 #ifdef TIOCGWINSZ
175 if (ioctl (1, TIOCGWINSZ, &ws) != -1)
205 #endif /* TIOCGWINSZ */
/netbsd-6-1-5-RELEASE/lib/libcurses/
H A Dtstp.c142 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 Dedit.c31 #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 Dcl_term.c357 #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 Dkill.c221 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 Dui.cpp63 if (ioctl(STDOUT_FILENO, TIOCGWINSZ, &ws) != -1)
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/unit/atf-src/atf-c++/detail/
H A Dui.cpp62 if (ioctl(STDOUT_FILENO, TIOCGWINSZ, &ws) != -1)
/netbsd-6-1-5-RELEASE/external/gpl3/gdb/dist/readline/examples/
H A Drlptytest.c260 if(ioctl(fd, TIOCGWINSZ, (char *)&size) < 0)
/netbsd-6-1-5-RELEASE/usr.bin/tabs/
H A Dtabs.c211 if (ioctl(STDOUT_FILENO, TIOCGWINSZ, &ws) == 0)
/netbsd-6-1-5-RELEASE/bin/ps/
H A Dps.c210 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 Dw.c325 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 Dterminal.c465 #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 Drlfe.c439 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 Dinstallboot.c488 #ifdef TIOCGWINSZ
491 if (ioctl(fileno(stderr), TIOCGWINSZ, &win) == 0 && win.ws_col > 0)

Completed in 293 milliseconds

123