NIO CommKit Host Interface Installation and System Administration Manual

DKTY(7) DKTY(7)
E-89 CommKit Host Interface, Release 4.0
TCSETA The argument is a pointer to a termio(7) structure. The value of the c_cflag is used to set
the terminal parameters. If the value of CBAUD is zero, an M_HANGUP message is sent
upstream.
TCSETAW The argument is a pointer to a termio(7) structure. The value of the c_cflag is used to set
the terminal parameters. If the value of CBAUD is zero, an M_HANGUP message is sent
upstream.
TCSETAF The argument is a pointer to a termio(7) structure. An M_FLUSH message is sent
downstream and the value of the c_cflag is used to set the terminal parameters. If the value
of CBAUD is zero an M_HANGUP message is sent upstream.
JWINSIZE The argument is a pointer to a jwinsize structure. If each element of the current window
size structure is zero, the error EINVAL is returned. Otherwise, the current window size
structure is copied to the data area of the message block and returned.
TIOCGWINSZ The argument is a pointer to a winsize structure. If each element of the current window size
structure is zero, the error EINVAL is returned. Otherwise, the current window size
structure is copied to the data area of the message block and returned.
TIOCSWINSZ The argument is a pointer to a winsize structure. If the window size that is being set is
different from the current window size, a SIGWINCH is sent upstream. The current
window size structure is then set from the data area of the message block.
TIOCSTI The argument is a pointer to a char. The one byte data is copied to a one byte message
block, and the one byte message block is sent upstream.
SEE ALSO
dkhs(7).
ioctl(2), termios(2) in the UNIX System V Programmer’s Reference Manual.
ldterm(7), termio(7), ttcompat(7) in the UNIX System V System Administrator’s Reference Manual.
DIAGNOSTICS
The dkty module returns errors on an open or an ioctl(2) failure. These errors are:
ENXIO Returned on all failed open attempts. Can occur if the dkty open routine is called without
the MODOPEN flag set or if one or more STREAMS resources is exhausted.
EINVAL This error is returned when all elements of the window size structure are zero for a
JWINSIZE or a TIOCGWINSZ ioctl(2) request.
EAGAIN This error is returned when a message block allocation has failed.
EPROTO Improper ioctl(2) requests are returned with this error.