OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:TIOCGWINSZ
(Results
1 - 25
of
58
) sorted by relevancy
1
2
3
/src/lib/libc/termios/
tcgetwinsize.c
47
return ioctl(fd,
TIOCGWINSZ
, ws);
/src/sys/sys/
ioctl.h
45
* Pun for SunOS prior to 3.2. SunOS 3.2 and later support
TIOCGWINSZ
55
#define TIOCGSIZE
TIOCGWINSZ
ttycom.h
147
#define
TIOCGWINSZ
_IOR('t', 104, struct winsize) /* get window size */
/src/distrib/utils/more/
screen.c
74
#ifdef
TIOCGWINSZ
247
#ifdef
TIOCGWINSZ
267
#ifdef
TIOCGWINSZ
268
if (ioctl(2,
TIOCGWINSZ
, &w) == 0 && w.ws_row > 0)
284
#ifdef
TIOCGWINSZ
285
if (ioctl(2,
TIOCGWINSZ
, &w) == 0 && w.ws_col > 0)
/src/usr.bin/tset/
tset.c
62
#ifdef
TIOCGWINSZ
159
#ifdef
TIOCGWINSZ
161
(void)ioctl(STDERR_FILENO,
TIOCGWINSZ
, &win);
/src/bin/stty/
stty.c
104
if (ioctl(i.fd,
TIOCGWINSZ
, &i.win) < 0)
105
warn("
TIOCGWINSZ
");
/src/lib/libterminfo/
setupterm.c
126
/* If
TIOCGWINSZ
works, then set initial lines and columns. */
127
if (ioctl(fildes,
TIOCGWINSZ
, &win) != -1 &&
/src/sbin/fsck/
progress.c
160
if (ioctl(fileno(stdout),
TIOCGWINSZ
, &winsize) != -1 &&
/src/lib/libcurses/
tstp.c
140
if (ioctl(fileno(_cursesi_screen->outfd),
TIOCGWINSZ
, &win) != -1 &&
273
if (ioctl(fileno(_cursesi_screen->outfd),
TIOCGWINSZ
, &win) != -1 &&
/src/bin/ksh/
edit.c
28
#if defined(
TIOCGWINSZ
)
32
#endif /*
TIOCGWINSZ
*/
54
#ifdef
TIOCGWINSZ
61
#endif /*
TIOCGWINSZ
*/
85
#if defined(
TIOCGWINSZ
)
101
if (procpid == kshpid && ioctl(tty_fd,
TIOCGWINSZ
, &ws) >= 0) {
123
#endif /*
TIOCGWINSZ
*/
148
#if defined(
TIOCGWINSZ
)
151
#endif /*
TIOCGWINSZ
*/
/src/usr.bin/tabs/
tabs.c
217
if (ioctl(STDOUT_FILENO,
TIOCGWINSZ
, &ws) == 0)
/src/sbin/blkdiscard/
blkdiscard.c
236
if (ioctl(fileno(stdout),
TIOCGWINSZ
, &winsize) != -1 &&
/src/usr.bin/w/
w.c
353
if ((ioctl(STDOUT_FILENO,
TIOCGWINSZ
, &ws) == -1 &&
354
ioctl(STDERR_FILENO,
TIOCGWINSZ
, &ws) == -1 &&
355
ioctl(STDIN_FILENO,
TIOCGWINSZ
, &ws) == -1) || ws.ws_col == 0)
/src/usr.bin/sed/
process.c
594
#ifdef
TIOCGWINSZ
607
#ifdef
TIOCGWINSZ
608
else if (ioctl(STDOUT_FILENO,
TIOCGWINSZ
, &win) == 0 &&
/src/bin/ps/
ps.c
218
if ((ioctl(STDOUT_FILENO,
TIOCGWINSZ
, (char *)&ws) == -1 &&
219
ioctl(STDERR_FILENO,
TIOCGWINSZ
, (char *)&ws) == -1 &&
220
ioctl(STDIN_FILENO,
TIOCGWINSZ
, (char *)&ws) == -1) ||
/src/bin/kill/
kill.c
281
if (ioctl(fileno(fp),
TIOCGWINSZ
, &win) == 0 && win.ws_col > 0)
/src/usr.bin/column/
column.c
86
if (ioctl(STDOUT_FILENO,
TIOCGWINSZ
, &win) == -1 || !win.ws_col) {
/src/usr.sbin/cnwctl/
cnwctl.c
224
if (ioctl(0,
TIOCGWINSZ
, &ts) < 0)
/src/usr.sbin/iteconfig/
iteconfig.c
179
xioctl(fd,
TIOCGWINSZ
, &ws);
/src/usr.bin/mail/
main.c
110
if (ioctl(1,
TIOCGWINSZ
, &ws) < 0)
/src/usr.sbin/installboot/
installboot.c
556
#ifdef
TIOCGWINSZ
559
if (ioctl(fileno(stderr),
TIOCGWINSZ
, &win) == 0 && win.ws_col > 0)
/src/games/tetris/
screen.c
186
if (ioctl(0,
TIOCGWINSZ
, &ws) == 0) {
/src/sys/compat/linux/common/
linux_termios.c
268
SCARG(&ia, com) =
TIOCGWINSZ
;
/src/sys/compat/linux32/common/
linux32_termios.c
276
SCARG(&ia, com) =
TIOCGWINSZ
;
/src/usr.bin/resize/
resize.c
525
} else if (ioctl(tty,
TIOCGWINSZ
, &ts) != -1) {
Completed in 20 milliseconds
1
2
3
Indexes created Mon Oct 27 08:10:08 GMT 2025