Home
last modified time | relevance | path

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

123

/third_party/ltp/testcases/kernel/pty/
H A Dpty01.c157 if (ioctl(slavefd, TIOCGWINSZ, NULL) == 0) { in test1()
159 "invalid slave TIOCGWINSZ ioctl succeeded.. it should " in test1()
166 if (ioctl(masterfd, TIOCGWINSZ, NULL) == 0) { in test1()
168 "invalid master TIOCGWINSZ ioctl succeeded.. it should " in test1()
234 if (ioctl(slavefd, TIOCGWINSZ, NULL) == 0) { in test2()
236 "trying TIOCGWINSZ on slave fd should have failed, " in test2()
255 if (ioctl(masterfd, TIOCGWINSZ, NULL) == 0) { in test3()
257 "trying TIOCGWINSZ on master with no open slave " in test3()
H A Dptem01.c161 if (ioctl(slavefd, TIOCGWINSZ, &wsz) != 0) { in test2()
162 tst_brkm(TFAIL, NULL, "TIOCGWINSZ"); in test2()
171 if (ioctl(masterfd, TIOCGWINSZ, &wsz) != 0) { in test2()
172 tst_brkm(TFAIL, NULL, "TIOCGWINSZ"); in test2()
185 if (ioctl(slavefd, TIOCGWINSZ, &wsz) != 0) { in test2()
186 tst_brkm(TFAIL, NULL, "TIOCGWINSZ"); in test2()
H A Dpty07.c94 SAFE_IOCTL(fd, TIOCGWINSZ, &wsize); in setup()
/third_party/python/Modules/
H A Dtermios.c372 #if defined(TIOCGWINSZ) in termios_tcgetwinsize_impl()
378 r = ioctl(fd, TIOCGWINSZ, &w); in termios_tcgetwinsize_impl()
423 "requires termios.TIOCGWINSZ and/or termios.TIOCGSIZE"); in termios_tcgetwinsize_impl()
425 #endif /* defined(TIOCGWINSZ) */ in termios_tcgetwinsize_impl()
470 #if defined(TIOCGWINSZ) && defined(TIOCSWINSZ) in termios_tcsetwinsize_impl()
474 if (ioctl(fd, TIOCGWINSZ, &w) == -1) { in termios_tcsetwinsize_impl()
527 "requires termios.TIOCGWINSZ, termios.TIOCSWINSZ and/or termios.TIOCGSIZE, termios.TIOCSSIZE"); in termios_tcsetwinsize_impl()
529 #endif /* defined(TIOCGWINSZ) && defined(TIOCSWINSZ) */ in termios_tcsetwinsize_impl()
1066 #ifdef TIOCGWINSZ
1067 {"TIOCGWINSZ", TIOCGWINS
[all...]
/third_party/musl/src/termios/
H A Dtcgetwinsize.c7 return syscall(SYS_ioctl, fd, TIOCGWINSZ, wsz); in tcgetwinsize()
/third_party/musl/src/unistd/
H A Disatty.c9 unsigned long r = syscall(SYS_ioctl, fd, TIOCGWINSZ, &wsz); in isatty()
/third_party/musl/porting/linux/user/src/stdio/
H A D__stdout_write.c14 if (!(f->flags & F_SVB) && __syscall(SYS_ioctl, f->fd, TIOCGWINSZ, &wsz)) in __stdout_write()
H A D__fdopen.c121 if (!(f->flags & F_NOWR) && !__syscall(SYS_ioctl, fd, TIOCGWINSZ, &wsz)) { in __fdopenx()
/third_party/musl/porting/liteos_a/kernel/src/stdio/
H A D__stdout_write.c8 if (!(f->flags & F_SVB) && ioctl(f->fd, TIOCGWINSZ, &wsz)) in __stdout_write()
H A D__fdopen.c50 if (!(f->flags & F_NOWR) && !ioctl(fd, TIOCGWINSZ, &wsz)) in __fdopen()
/third_party/musl/src/stdio/
H A D__stdout_write.c14 if (!(f->flags & F_SVB) && __syscall(SYS_ioctl, f->fd, TIOCGWINSZ, &wsz)) in __stdout_write()
H A D__fdopen.c121 if (!(f->flags & F_NOWR) && !__syscall(SYS_ioctl, fd, TIOCGWINSZ, &wsz)) { in __fdopenx()
/third_party/curl/src/
H A Dtool_cb_prg.c260 #elif defined(TIOCGWINSZ) in progressbarinit()
262 if(!ioctl(STDIN_FILENO, TIOCGWINSZ, &ts)) in progressbarinit()
/third_party/alsa-utils/alsamixer/
H A Dwidget.c127 if (ioctl(STDOUT_FILENO, TIOCGWINSZ, &size) == 0) in window_size_changed()
/third_party/musl/porting/uniproton/kernel/include/bits/
H A Dioctl.h29 #define TIOCGWINSZ 0x5413 macro
/third_party/musl/porting/liteos_m/kernel/include/bits/
H A Dioctl.h29 #define TIOCGWINSZ 0x5413 macro
/third_party/musl/porting/liteos_m_iccarm/kernel/include/bits/
H A Dioctl.h29 #define TIOCGWINSZ 0x5413 macro
/third_party/ninja/src/
H A Dline_printer.cc110 if ((ioctl(STDOUT_FILENO, TIOCGWINSZ, &size) == 0) && size.ws_col) { in Print()
/third_party/musl/arch/generic/bits/
H A Dioctl.h29 #define TIOCGWINSZ 0x5413 macro
/third_party/musl/arch/mips64/bits/
H A Dioctl.h34 #define TIOCGWINSZ _IOR('t', 104, struct winsize) macro
/third_party/musl/arch/mipsn32/bits/
H A Dioctl.h34 #define TIOCGWINSZ _IOR('t', 104, struct winsize) macro
/third_party/musl/arch/powerpc64/bits/
H A Dioctl.h39 #define TIOCGWINSZ _IOR('t', 104, char[8]) macro
/third_party/musl/arch/mips/bits/
H A Dioctl.h34 #define TIOCGWINSZ _IOR('t', 104, struct winsize) macro
/third_party/musl/arch/powerpc/bits/
H A Dioctl.h39 #define TIOCGWINSZ _IOR('t', 104, char[8]) macro
/third_party/musl/arch/sh/bits/
H A Dioctl.h29 #define TIOCGWINSZ _IOR('t', 104, char[8]) macro

Completed in 9 milliseconds

123