HomeSort by: relevance | last modified time | path
    Searched refs:TIOCGWINSZ (Results 1 - 25 of 107) sorted by relevancy

1 2 3 4 5

  /src/external/bsd/nvi/dist/ex/
script.h 20 #ifdef TIOCGWINSZ
  /src/lib/libc/termios/
tcgetwinsize.c 47 return ioctl(fd, TIOCGWINSZ, ws);
  /src/external/gpl3/gdb/dist/readline/readline/
rlwinsize.h 2 for `struct winsize' and TIOCGWINSZ. */
32 #if defined (GWINSZ_IN_SYS_IOCTL) && !defined (TIOCGWINSZ)
34 #endif /* GWINSZ_IN_SYS_IOCTL && !TIOCGWINSZ */
terminal.c 259 #if defined (TIOCGWINSZ)
261 #endif /* TIOCGWINSZ */
265 #if defined (TIOCGWINSZ)
266 if (ioctl (tty, TIOCGWINSZ, &window_size) == 0)
271 #endif /* TIOCGWINSZ */
  /src/external/gpl3/gdb.old/dist/readline/readline/
rlwinsize.h 2 for `struct winsize' and TIOCGWINSZ. */
32 #if defined (GWINSZ_IN_SYS_IOCTL) && !defined (TIOCGWINSZ)
34 #endif /* GWINSZ_IN_SYS_IOCTL && !TIOCGWINSZ */
terminal.c 259 #if defined (TIOCGWINSZ)
261 #endif /* TIOCGWINSZ */
265 #if defined (TIOCGWINSZ)
266 if (ioctl (tty, TIOCGWINSZ, &window_size) == 0)
271 #endif /* TIOCGWINSZ */
  /src/crypto/external/bsd/heimdal/dist/lib/roken/
get_window_size.c 67 #if defined(TIOCGWINSZ)
71 ret = ioctl(fd, TIOCGWINSZ, &ws);
  /src/sys/sys/
ioctl.h 45 * Pun for SunOS prior to 3.2. SunOS 3.2 and later support TIOCGWINSZ
55 #define TIOCGSIZE TIOCGWINSZ
ttycom.h 147 #define TIOCGWINSZ _IOR('t', 104, struct winsize) /* get window size */
  /src/distrib/utils/more/
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)
  /src/usr.bin/tset/
tset.c 62 #ifdef TIOCGWINSZ
159 #ifdef TIOCGWINSZ
161 (void)ioctl(STDERR_FILENO, TIOCGWINSZ, &win);
  /src/bin/stty/
stty.c 104 if (ioctl(i.fd, TIOCGWINSZ, &i.win) < 0)
105 warn("TIOCGWINSZ");
  /src/lib/libterminfo/
setupterm.c 126 /* If TIOCGWINSZ works, then set initial lines and columns. */
127 if (ioctl(fildes, TIOCGWINSZ, &win) != -1 &&
  /src/sbin/fsck/
progress.c 160 if (ioctl(fileno(stdout), TIOCGWINSZ, &winsize) != -1 &&
  /src/lib/libcurses/
tstp.c 140 if (ioctl(fileno(_cursesi_screen->outfd), TIOCGWINSZ, &win) != -1 &&
273 if (ioctl(fileno(_cursesi_screen->outfd), TIOCGWINSZ, &win) != -1 &&
  /src/external/bsd/file/dist/src/
seccomp.c 202 #ifdef TIOCGWINSZ
203 // musl libc may call ioctl TIOCGWINSZ on stdout
204 ALLOW_IOCTL_RULE(TIOCGWINSZ);
  /src/external/bsd/top/dist/
screen.c 171 #ifdef TIOCGWINSZ
175 if (ioctl (1, TIOCGWINSZ, &ws) != -1)
205 #endif /* TIOCGWINSZ */
  /src/bin/ksh/
edit.c 28 #if defined(TIOCGWINSZ)
32 #endif /* TIOCGWINSZ */
54 #ifdef TIOCGWINSZ
61 #endif /* TIOCGWINSZ */
85 #if defined(TIOCGWINSZ)
101 if (procpid == kshpid && ioctl(tty_fd, TIOCGWINSZ, &ws) >= 0) {
123 #endif /* TIOCGWINSZ */
148 #if defined(TIOCGWINSZ)
151 #endif /* TIOCGWINSZ */
  /src/external/bsd/nvi/dist/cl/
cl_term.c 362 #ifdef TIOCGWINSZ
382 * Try TIOCGWINSZ.
385 #ifdef TIOCGWINSZ
386 if (ioctl(STDERR_FILENO, TIOCGWINSZ, &win) != -1) {
391 /* If here because of suspend or a signal, only trust TIOCGWINSZ. */
394 * Somebody didn't get TIOCGWINSZ right, or has suspend
428 * If TIOCGWINSZ failed, or had entries of 0, try termcap. This
  /src/sbin/blkdiscard/
blkdiscard.c 236 if (ioctl(fileno(stdout), TIOCGWINSZ, &winsize) != -1 &&
  /src/usr.bin/tabs/
tabs.c 217 if (ioctl(STDOUT_FILENO, TIOCGWINSZ, &ws) == 0)
  /src/external/bsd/atf/dist/tools/
ui.cpp 62 if (ioctl(STDOUT_FILENO, TIOCGWINSZ, &ws) != -1)
  /src/external/gpl3/gdb/dist/readline/readline/examples/
rlptytest.c 271 if(ioctl(fd, TIOCGWINSZ, (char *)&size) < 0)
  /src/external/gpl3/gdb.old/dist/readline/readline/examples/
rlptytest.c 271 if(ioctl(fd, TIOCGWINSZ, (char *)&size) < 0)
  /src/external/gpl3/gcc.old/dist/libphobos/libdruntime/core/sys/posix/sys/
ttycom.d 91 enum uint TIOCGWINSZ = _IOR!(winsize)('t', 104); // get window size
169 enum uint TIOCGWINSZ = _IOR!(winsize)('t', 104); // get window size
268 enum uint TIOCGWINSZ = _IOR!(winsize)('t', 104); // get window size

Completed in 27 milliseconds

1 2 3 4 5