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

1234

/freebsd-11-stable/contrib/libreadline/
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.c55 #if defined (GWINSZ_IN_SYS_IOCTL) && !defined (TIOCGWINSZ)
57 #endif /* GWINSZ_IN_SYS_IOCTL && !TIOCGWINSZ */
229 #if defined (TIOCGWINSZ)
231 #endif /* TIOCGWINSZ */
235 #if defined (TIOCGWINSZ)
236 if (ioctl (tty, TIOCGWINSZ, &window_size) == 0)
241 #endif /* TIOCGWINSZ */
/freebsd-11-stable/contrib/llvm-project/lldb/tools/driver/
H A DPlatform.cpp22 case (TIOCGWINSZ): {
H A DPlatform.h38 #define TIOCGWINSZ 0x5413 macro
/freebsd-11-stable/crypto/heimdal/lib/roken/
H A Dget_window_size.c65 #if defined(TIOCGWINSZ)
69 ret = ioctl(fd, TIOCGWINSZ, &ws);
/freebsd-11-stable/usr.bin/tset/
H A Dtset.c74 #ifdef TIOCGWINSZ
165 #ifdef TIOCGWINSZ
167 (void)ioctl(STDERR_FILENO, TIOCGWINSZ, &win);
/freebsd-11-stable/lib/libcapsicum/
H A Dcapsicum_helpers.h51 unsigned long cmds[] = { TIOCGETA, TIOCGWINSZ, FIODTYPE };
/freebsd-11-stable/contrib/ncurses/include/
H A Dnc_termios.h143 #define TIOCGWINSZ 0x5413 macro
/freebsd-11-stable/sys/sys/
H A Dttycom.h98 #define TIOCGWINSZ _IOR('t', 104, struct winsize) /* get window size */ macro
/freebsd-11-stable/usr.bin/resizewin/
H A Dresizewin.c88 if (ioctl(fd, TIOCGWINSZ, &w) == -1)
/freebsd-11-stable/usr.sbin/bhyve/
H A Dconsport.c117 cap_ioctl_t cmds[] = { TIOCGETA, TIOCSETA, TIOCGWINSZ };
H A Duart_emul.c662 cap_ioctl_t cmds[] = { TIOCGETA, TIOCSETA, TIOCGWINSZ };
663 cap_ioctl_t sicmds[] = { TIOCGETA, TIOCGWINSZ };
/freebsd-11-stable/contrib/tcsh/
H A Dtc.os.h145 # if defined(POSIX) && !defined(TIOCGWINSZ)
150 # define TIOCGWINSZ (('T'<<8)|104) macro
151 # endif /* POSIX && !TIOCGWINSZ */
155 # undef TIOCGWINSZ macro
160 * #if (SYSVREL > 0) && defined(TIOCGWINSZ)
168 # ifdef TIOCGWINSZ
174 # endif /* TIOCGWINSZ */
/freebsd-11-stable/bin/stty/
H A Dstty.c102 if (ioctl(i.fd, TIOCGWINSZ, &i.win) < 0)
103 warn("TIOCGWINSZ");
/freebsd-11-stable/contrib/llvm-project/lldb/source/Interpreter/
H A Dembedded_interpreter.py67 hw = struct.unpack('hh', fcntl.ioctl(fd, termios.TIOCGWINSZ, '1234'))
/freebsd-11-stable/contrib/top/
H A Dscreen.c395 #ifdef TIOCGWINSZ
399 if (ioctl (1, TIOCGWINSZ, &ws) != -1)
429 #endif /* TIOCGWINSZ */
/freebsd-11-stable/contrib/file/src/
H A Dseccomp.c188 #ifdef TIOCGWINSZ
189 // musl libc may call ioctl TIOCGWINSZ on stdout
190 ALLOW_IOCTL_RULE(TIOCGWINSZ);
/freebsd-11-stable/usr.bin/w/
H A Dw.c310 if ((ioctl(STDOUT_FILENO, TIOCGWINSZ, &ws) == -1 &&
311 ioctl(STDERR_FILENO, TIOCGWINSZ, &ws) == -1 &&
312 ioctl(STDIN_FILENO, TIOCGWINSZ, &ws) == -1) || ws.ws_col == 0)
/freebsd-11-stable/contrib/libreadline/examples/
H A Drlptytest.c260 if(ioctl(fd, TIOCGWINSZ, (char *)&size) < 0)
/freebsd-11-stable/release/picobsd/tinyware/help/
H A Dhelp.c52 if (ioctl(fileno(stdout), TIOCGWINSZ, &ts)>=0) {
/freebsd-11-stable/usr.bin/talk/
H A Dinit_disp.c197 if (ioctl(STDIN_FILENO, TIOCGWINSZ, &ws) < 0 ||
/freebsd-11-stable/sbin/camcontrol/
H A Dprogress.c76 if (ioctl(STDOUT_FILENO, TIOCGWINSZ, &winsize) != -1 &&
/freebsd-11-stable/usr.bin/tabs/
H A Dtabs.c231 if (ioctl(STDOUT_FILENO, TIOCGWINSZ, &ws) != -1)
/freebsd-11-stable/contrib/libreadline/examples/rlfe/
H A Drlfe.c439 if (ioctl(STDIN_FILENO, TIOCGWINSZ, &ws) < 0)
576 if (ioctl (STDIN_FILENO, TIOCGWINSZ, &ws) >= 0)
/freebsd-11-stable/crypto/openssh/
H A Dprogressmeter.c297 if (ioctl(STDOUT_FILENO, TIOCGWINSZ, &winsize) != -1 &&

Completed in 396 milliseconds

1234