ldterm.7 (2010 09)
l
ldterm(7) ldterm(7)
(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 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 character
was typed on the terminal. The user must either have the
DEVOPS privilege or have read per-
mission 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).
6 Hewlett-Packard Company − 6 − HP-UX 11i Version 3: September 2010