Technical data

SunOS 5.5 Ioctl Requests termio(7I)
TIOCGWINSZ The argument is a pointer to a winsize structure. The terminal driver’s
notion of the terminal size is stored into that structure.
TIOCSWINSZ The argument is a pointer to a winsize structure. The terminal driver’s
notion of the terminal size is set from the values specified in that struc-
ture. If the new sizes are different from the old sizes, aSIGWINCH sig-
nal is set to the process group of the terminal.
TIOCMBIS The argument is a pointer to an int whose value is a mask containing
modem control lines to be turned on. The control lines whose bits are
set in the argument are turned on; no other control lines are affected.
TIOCMBIC The argument is a pointer to an int whose value is a mask containing
modem control lines to be turned off. The control lines whose bits are
set in the argument are turned off; no other control lines are affected.
TIOCMGET The argument is a pointer to an int. The current state of the modem
status lines is fetched and stored in the int pointed to by the argument.
TIOCMSET The argument is a pointer to an int containing a new set of modem con-
trol lines. The modem control lines are turned on or off, depending on
whether the bit for that mode is set or clear.
FILES files in or under /dev
SEE ALSO fork(2), getsid(2), ioctl(2), termios(3), signal(3C), streamio(7I)
modified 30 May 1995 7I-363