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

l
ldterm(7) ldterm(7)
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 per-
mission 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
immediately readable characters.
AUTHOR
ldterm was developed by HP and OSF.
SEE ALSO
ioctl(2), streamio(7), termio(7), ptm(7), pts(7), ptem(7).
HP-UX 11i Version 2: September 2004 6 Hewlett-Packard Company Section 767