Home
last modified time | relevance | path

Searched refs:TIOCGWINSZ (Results 1 – 25 of 75) sorted by relevance

123

/external/ltp/testcases/kernel/pty/
Dpty01.c160 if (ioctl(slavefd, TIOCGWINSZ, NULL) == 0) { in test1()
169 if (ioctl(masterfd, TIOCGWINSZ, NULL) == 0) { in test1()
237 if (ioctl(slavefd, TIOCGWINSZ, NULL) == 0) { in test2()
258 if (ioctl(masterfd, TIOCGWINSZ, NULL) == 0) { in test3()
Dptem01.c164 if (ioctl(slavefd, TIOCGWINSZ, &wsz) != 0) { in test2()
174 if (ioctl(masterfd, TIOCGWINSZ, &wsz) != 0) { in test2()
188 if (ioctl(slavefd, TIOCGWINSZ, &wsz) != 0) { in test2()
/external/e2fsprogs/misc/
Dblkid.c101 #ifdef TIOCGWINSZ in get_terminal_width()
113 #ifdef TIOCGWINSZ in get_terminal_width()
114 if (ioctl (0, TIOCGWINSZ, &w_win) == 0) { in get_terminal_width()
/external/squashfs-tools/squashfs-tools/
Dprogressbar.c59 if(ioctl(1, TIOCGWINSZ, &winsize) == -1) { in sigwinch_handler()
185 if(ioctl(1, TIOCGWINSZ, &winsize) == -1) { in progress_thrd()
/external/curl/src/
Dtool_cb_prg.c220 #elif defined(TIOCGWINSZ) in progressbarinit()
222 if(!ioctl(STDIN_FILENO, TIOCGWINSZ, &ts)) in progressbarinit()
/external/e2fsprogs/ext2ed/
Dwin.c195 ioctl(1, TIOCGWINSZ, &ws); in redraw_all()
201 if (ioctl(1, TIOCGWINSZ, &ws) == 0) { in redraw_all()
/external/syzkaller/sys/linux/
Dtty_386.const63 TIOCGWINSZ = 21523
Dtty_arm.const63 TIOCGWINSZ = 21523
Dtty_arm64.const63 TIOCGWINSZ = 21523
Dtty_amd64.const63 TIOCGWINSZ = 21523
Dtty_ppc64le.const63 # TIOCGWINSZ is not set
Dtty.txt23 ioctl$TIOCGWINSZ(fd fd_tty, cmd const[TIOCGWINSZ], arg ptr[out, winsize])
/external/kernel-headers/original/uapi/asm-generic/
Dioctls.h38 #define TIOCGWINSZ 0x5413 macro
/external/rmi4utils/f54test/
Ddisplay.cpp53 ioctl(STDOUT_FILENO, TIOCGWINSZ, &winsz); in GetWindowSize()
/external/kernel-headers/original/uapi/asm-mips/asm/
Dioctls.h47 #define TIOCGWINSZ _IOR('t', 104, struct winsize) /* get window size */ macro
/external/python/cpython2/Modules/
Dtermios.c764 #ifdef TIOCGWINSZ
765 {"TIOCGWINSZ", TIOCGWINSZ},
/external/python/cpython3/Modules/
Dtermios.c792 #ifdef TIOCGWINSZ
793 {"TIOCGWINSZ", TIOCGWINSZ},
/external/openssh/
Dprogressmeter.c297 if (ioctl(STDOUT_FILENO, TIOCGWINSZ, &winsize) != -1 && in setscreensize()
/external/selinux/libselinux/utils/
Davcstat.c83 ret = ioctl(fileno(stdout), TIOCGWINSZ, &ws); in set_window_rows()
/external/toybox/lib/
Dtty.c30 if (isatty(i) && !ioctl(i, TIOCGWINSZ, &ws)) { in terminal_size()
/external/strace/
Dterm.c192 case TIOCGWINSZ: in term_ioctl()
/external/toybox/toys/pending/
Dstty.c186 if (ioctl(TT.fd, TIOCGWINSZ, &ws)) perror_exit("TIOCGWINSZ %s", TT.device); in show_size()
252 if (ioctl(TT.fd, TIOCGWINSZ, &ws)) perror_exit("TIOCGWINSZ %s", TT.device); in set_size()
/external/python/cpython2/Lib/plat-irix6/
DIOCTL.py195 TIOCGWINSZ = _IOR(ord('t'), 104, struct_winsize) variable
/external/python/cpython2/Lib/plat-irix5/
DIOCTL.py195 TIOCGWINSZ = _IOR(ord('t'), 104, struct_winsize) variable
/external/selinux/policycoreutils/run_init/
Dopen_init_pty.c266 if (ioctl(STDOUT_FILENO, TIOCGWINSZ, &window_size) < 0) { in main()

123