Home
last modified time | relevance | path

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

123

/titanic_44/usr/src/lib/libast/common/port/
H A Dastwinsize.c43 #if defined(TIOCGWINSZ)
49 #if !defined(TIOCGSIZE) && !defined(TIOCGWINSZ)
74 #ifdef TIOCGWINSZ in astwinsize()
78 if (!ttctl(fd, TIOCGWINSZ, &ws) && ws.ws_col > 0 && ws.ws_row > 0) in astwinsize()
/titanic_44/usr/src/ucblib/libcurses/
H A Dcr_tty.c97 #ifdef TIOCGWINSZ in setterm()
115 #ifdef TIOCGWINSZ in setterm()
116 if (ioctl(_tty_ch, TIOCGWINSZ, &win) >= 0) { in setterm()
/titanic_44/usr/src/cmd/mdb/common/kmdb/
H A Dkmdb_promio.c96 case TIOCGWINSZ: in pio_ctl()
97 return (kmdb_prom_term_ctl(TIOCGWINSZ, arg)); in pio_ctl()
/titanic_44/usr/src/cmd/script/
H A Dscript.c159 if (ioctl(0, TIOCGWINSZ, &ws) == 0) in sigwinch()
267 (void) ioctl(0, TIOCGWINSZ, (char *)&size); in getmaster()
/titanic_44/usr/src/uts/common/io/
H A Dptem.c318 case TIOCGWINSZ: in ptemrput()
390 case TIOCGWINSZ: in ptemrput()
471 case TIOCGWINSZ: in ptemwput()
767 case TIOCGWINSZ: in ptemwmsg()
929 case TIOCGWINSZ: in ptioc()
H A Dtty_common.c380 case TIOCGWINSZ: { in ttycommon_ioctl()
/titanic_44/usr/src/lib/libbc/inc/include/sys/
H A Dttycom.h49 #define TIOCGWINSZ _IOR('t', 104, struct winsize) /* get window size */ macro
/titanic_44/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dsetup.c51 #ifdef TIOCGWINSZ
501 #ifdef TIOCGWINSZ in restartterm()
508 if (ioctl(fd, TIOCGWINSZ, &wininfo) != -1) { in restartterm()
/titanic_44/usr/src/cmd/mailx/
H A Dcmd1.c163 #ifdef TIOCGWINSZ in screensize()
173 #ifdef TIOCGWINSZ in screensize()
174 else if (ioctl(fileno(stdout), TIOCGWINSZ, &ws) == 0 && ws.ws_row > 4) in screensize()
/titanic_44/usr/src/ucbhead/sys/
H A Dioctl.h133 #define TIOCGSIZE TIOCGWINSZ
/titanic_44/usr/src/cmd/vi/port/
H A Dex_v.c136 if(ioctl(0, TIOCGWINSZ, &jwin) != -1) {
157 if(ioctl(0, TIOCGWINSZ, &jwin) != -1) { in setsize()
H A Dex.c208 if (ioctl(0, TIOCGWINSZ, &jwin) != -1) { in main()
/titanic_44/usr/src/uts/common/sys/
H A Dttold.h152 #define TIOCGWINSZ (_TIOC|104) macro
H A Dtermios.h340 #define TIOCGWINSZ (_TIOC|104) macro
/titanic_44/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dsetup.c476 #ifdef TIOCGWINSZ
483 if (ioctl(fd, TIOCGWINSZ, &wininfo) != -1) {
/titanic_44/usr/src/cmd/ssh/libssh/common/
H A Dprogressmeter.c299 if (ioctl(STDOUT_FILENO, TIOCGWINSZ, &winsize) != -1 && in setscreensize()
/titanic_44/usr/src/cmd/rexd/
H A Don.c118 ioctl(0, TIOCGWINSZ, &newsize); in sigwinch()
512 err = ioctl(0, TIOCGWINSZ, &newsize) < 0; in main()
/titanic_44/usr/src/ucblib/libtermcap/
H A Dtermcap.c397 if (ioctl(1, TIOCGWINSZ, (char *)&ws) < 0) in tngetsize()
/titanic_44/usr/src/cmd/projects/
H A Dprojects.c162 if (ioctl(STDOUT_FILENO, TIOCGWINSZ, &ws) != -1 && in print_projects()
/titanic_44/usr/src/cmd/ssh/ssh/
H A Dclientloop.c434 if (ioctl(fileno(stdin), TIOCGWINSZ, &ws) < 0) in client_check_window_change()
583 ioctl(fileno(stdin), TIOCGWINSZ, &oldws); in client_suspend_self()
589 if (ioctl(fileno(stdin), TIOCGWINSZ, &newws) >= 0 && in client_suspend_self()
H A Dssh.c888 if (ioctl(fileno(stdin), TIOCGWINSZ, &ws) < 0)
1064 if (ioctl(fileno(stdin), TIOCGWINSZ, &ws) < 0)
/titanic_44/usr/src/cmd/cmd-inet/usr.bin/
H A Drlogin.c911 if (ioctl(STDIN_FILENO, TIOCGWINSZ, &winsize) == 0) in writeroob()
1055 if (dosigwinch && ioctl(STDIN_FILENO, TIOCGWINSZ, &ws) == 0 && in sigwinch()
/titanic_44/usr/src/cmd/picl/prtpicl/
H A Dprtpicl.c155 ioctl(fileno(stdout), TIOCGWINSZ, &winsize) == 0 && in print_bytearray()
/titanic_44/usr/src/cmd/intrstat/
H A Dintrstat.c131 if (ioctl(fileno(stdout), TIOCGWINSZ, &win) == -1) in set_width()
/titanic_44/usr/src/cmd/format/
H A Dmisc.c959 if (ioctl(1, TIOCGWINSZ, &winsize) == 0) { in get_tty_lines()

123