Home
last modified time | relevance | path

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

12

/third_party/ltp/testcases/kernel/pty/
Dpty01.c157 if (ioctl(slavefd, TIOCGWINSZ, NULL) == 0) { in test1()
166 if (ioctl(masterfd, TIOCGWINSZ, NULL) == 0) { in test1()
234 if (ioctl(slavefd, TIOCGWINSZ, NULL) == 0) { in test2()
255 if (ioctl(masterfd, TIOCGWINSZ, NULL) == 0) { in test3()
Dptem01.c161 if (ioctl(slavefd, TIOCGWINSZ, &wsz) != 0) { in test2()
171 if (ioctl(masterfd, TIOCGWINSZ, &wsz) != 0) { in test2()
185 if (ioctl(slavefd, TIOCGWINSZ, &wsz) != 0) { in test2()
/third_party/musl/src/unistd/
Disatty.c9 unsigned long r = syscall(SYS_ioctl, fd, TIOCGWINSZ, &wsz); in isatty()
/third_party/musl/porting/liteos_a/kernel/src/stdio/
D__stdout_write.c8 if (!(f->flags & F_SVB) && ioctl(f->fd, TIOCGWINSZ, &wsz)) in __stdout_write()
D__fdopen.c50 if (!(f->flags & F_NOWR) && !ioctl(fd, TIOCGWINSZ, &wsz)) in __fdopen()
/third_party/musl/src/stdio/
D__stdout_write.c8 if (!(f->flags & F_SVB) && __syscall(SYS_ioctl, f->fd, TIOCGWINSZ, &wsz)) in __stdout_write()
D__fdopen.c46 if (!(f->flags & F_NOWR) && !__syscall(SYS_ioctl, fd, TIOCGWINSZ, &wsz)) in __fdopen()
/third_party/curl/src/
Dtool_cb_prg.c241 #elif defined(TIOCGWINSZ) in progressbarinit()
243 if(!ioctl(STDIN_FILENO, TIOCGWINSZ, &ts)) in progressbarinit()
/third_party/node/test/pseudo-tty/
Dpseudo-tty.status4 # https://github.com/nodejs/node/pull/16225 - `ioctl(fd, TIOCGWINSZ)` seems
/third_party/e2fsprogs/misc/
Dblkid.c105 #ifdef TIOCGWINSZ in get_terminal_width()
117 #ifdef TIOCGWINSZ in get_terminal_width()
118 if (ioctl (0, TIOCGWINSZ, &w_win) == 0) { in get_terminal_width()
/third_party/e2fsprogs/ext2ed/
Dwin.c195 ioctl(1, TIOCGWINSZ, &ws); in redraw_all()
201 if (ioctl(1, TIOCGWINSZ, &ws) == 0) { in redraw_all()
/third_party/musl/porting/linux/user/src/stdio/
D__fdopen.c87 if (!(f->flags & F_NOWR) && !__syscall(SYS_ioctl, fd, TIOCGWINSZ, &wsz)) { in __fdopen()
/third_party/musl/porting/uniproton/kernel/include/bits/
Dioctl.h29 #define TIOCGWINSZ 0x5413 macro
/third_party/musl/porting/liteos_m_iccarm/kernel/include/bits/
Dioctl.h29 #define TIOCGWINSZ 0x5413 macro
/third_party/musl/porting/liteos_m/kernel/include/bits/
Dioctl.h29 #define TIOCGWINSZ 0x5413 macro
/third_party/musl/arch/generic/bits/
Dioctl.h29 #define TIOCGWINSZ 0x5413 macro
/third_party/musl/arch/mips64/bits/
Dioctl.h34 #define TIOCGWINSZ _IOR('t', 104, struct winsize) macro
/third_party/musl/arch/mipsn32/bits/
Dioctl.h34 #define TIOCGWINSZ _IOR('t', 104, struct winsize) macro
/third_party/musl/arch/mips/bits/
Dioctl.h34 #define TIOCGWINSZ _IOR('t', 104, struct winsize) macro
/third_party/musl/porting/liteos_a/kernel/include/bits/
Dioctl.h46 #define TIOCGWINSZ 0x5413 macro
/third_party/musl/arch/powerpc64/bits/
Dioctl.h39 #define TIOCGWINSZ _IOR('t', 104, char[8]) macro
/third_party/musl/arch/powerpc/bits/
Dioctl.h39 #define TIOCGWINSZ _IOR('t', 104, char[8]) macro
/third_party/musl/porting/liteos_a_newlib/kernel/include/bits/
Dioctl.h46 #define TIOCGWINSZ 0x5413 macro
/third_party/alsa-utils/alsamixer/
Dwidget.c127 if (ioctl(STDOUT_FILENO, TIOCGWINSZ, &size) == 0) in window_size_changed()
/third_party/ninja/src/
Dline_printer.cc108 if ((ioctl(STDOUT_FILENO, TIOCGWINSZ, &size) == 0) && size.ws_col) { in Print()

12