HP-UX Reference (11i v2 04/09) - 7 Device (Special) Files, 9 General Information, Index (vol 10)

t
termiox(7) termiox(7)
(HP-PB Only)
termiox Structure Related IOCTL Command
The ioctl() system calls that reference the
termiox structure have the form:
ioctl (fildes, command, arg)
struct termiox *arg;
Commands using this form are:
TCGETX The argument is a pointer to a
termiox structure. The current terminal parame-
ters are fetched and stored into that structure.
TCSETX The argument is a pointer to a
termiox structure. The current terminal parame-
ters are set from the values stored in that structure. The change is immediate.
Errors that can be returned include:
[EINVAL] The port does not support hardware flow control.
[ENOTTY] The file descriptor for this port is configured for CCITT mode access.
Hardware flow control is not allowed on CCITT mode devices.
TCSETXW The argument is a pointer to a
termiox structure. The current terminal parame-
ters are set from the values stored in that structure. The change occurs after all
characters queued for output have been transmitted. This form should be used
when changing parameters that affect output. Errors that can be returned include:
[EINVAL] The port does not support hardware flow control.
[ENOTTY] The file descriptor for this port is configured for CCITT mode access.
Hardware flow control is not allowed on CCITT mode devices.
TCSETXF The argument is a pointer to a termiox structure. The current terminal parame-
ters are set from the values stored in that structure. The change occurs after all
characters queued for output have been transmitted; all characters queued for input
are discarded, then the change occurs. Errors that can be returned include:
[EINVAL] The port does not support hardware flow control.
[ENOTTY] The file descriptor for this port is configured for CCITT mode access.
Hardware flow control is not allowed on CCITT mode devices.
AUTHOR
termiox was developed by HP and AT&T.
FILES
Files in or under
/dev/tty*.
SEE ALSO
ioctl(2), termio(7), modem(7).
HP-UX 11i Version 2: September 2004 2 Hewlett-Packard Company Section 7197