HP-UX Reference (11i v2 07/12) - 7 Device (Special) Files, 9 General Information, Index (vol 10)
l
ldterm(7) ldterm(7)
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
containing 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
termios M_IOCTL, then forwards the POSIX
termios M_IOCTL message
with a corresponding 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 charac-
ter was typed on the terminal. The user must either have the
DEVOPS privilege or have
read permission on the controlling terminal against which the ioctl is issued. See
privileges(5) for more information about privileged access on systems that support fine-
grained privileges.
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), privileges(5), ptem(7), ptm(7), pts(7), streamio(7), termio(7).
80 Hewlett-Packard Company − 6 − HP-UX 11i Version 2: December 2007 Update