HP-UX Reference (11i v1 00/12) - 5 Miscellaneous Topics, 7 Device (Special) Files, 9 General Information, Index (vol 9)

__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man7/!!!intro.7
________________________________________________________________
___ ___
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 char-
acters 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 char-
acters 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).
Section 7182 2 HP-UX Release 11i: December 2000
___
___