HP-UX Reference (11i v1 05/09) - 7 Device (Special) Files, 9 General Information, Index (vol 10)
l
ldterm(7) ldterm(7)
TIOCGETC
This command returns the tchars information based on the interpretation of the current con-
tent of the POSIX termios structure maintained in
ldterm. The argument is a pointer to
an
tchars structure via where the information is returned.
TIOCSLTC
This command sets the ltchars information defined in
<sys/bsdtty.h>. The
ldterm
module converts the message to a POSIX
termios M_IOCTL message. Then, it forwards the
POSIX
termios M_IOCTL message with a corresponding POSIX
termios command
(i.e.
TCSETS). The original I/O control command and
M_IOCTL message are stored for use on
M_IOCACK.
TIOCGLTC
The ldterm module returns the ltchars information based on the interpretation of the
current content of the POSIX termios structure maintained in
ldterm.
TIOCLBIS, TIOCLBIC, TIOCLSET
These commands set the BSD 4.3 flags information, defined in
<sys/strtio.h>
.For
TIOCLBIS and TIOCLBIC, the argument is a pointer to an
int whose value is a mask con-
taining flags to be set/clear. For
TIOCLSET, the argument is a pointer to an int whose value
is a new set of flags to be set. The
ldterm module converts the message to a POSIX
ter-
mios M_IOCTL
, then forwards the POSIX termios M_IOCTL message with a correspond-
ing POSIX termios command (i.e. TCSETS). It stores the original I/O control command and
M_IOCTL message to be used on M_IOCACK.
TIOCLGET
The ldterm module returns the BSD 4.3 flags information based on the interpretation of the
current content of the POSIX termios structure maintained in ldterm.
TIOCSTI
This command takes an argument of a pointer to a character and pretends that the character
was typed on the terminal. The user must either have superuser privilege or have read permis-
sion on the controlling terminal which the ioctl is issued against.
FIONREAD
This command takes an argument of a pointer to an integer and returns the number of immedi-
ately readable characters.
AUTHOR
ldterm was developed by HP and OSF.
SEE ALSO
ioctl(2), streamio(7), termio(7), ptm(7), pts(7), ptem(7).
Section 7−−64 Hewlett-Packard Company − 6 − HP-UX 11i Version 1: September 2005