Technical data

SunOS 5.5 STREAMS Modules ttcompat(7M)
TIOCLBIS The argument is a pointer to an int whose value is a mask containingflags
to be set in the local flags word. The current terminal state is fetched, and
the values of the local flags are derived from the flags in the terminal state;
the specified flags are set, and the flags in the terminal state are set to match
the new value of the local flags word.
TIOCLBIC The argument is a pointer to an int whose value is a mask containing flags
to be cleared in the local flags word. The current terminal state is fetched,
and the values of the local flags are derived from the flags in the terminal
state; the specified flags are cleared, and the flags in the terminal state are
set to match the new value of the local flags word.
TIOCLSET The argument is a pointer to an int containing a new set of local flags. The
flags in the terminal state are set to match the new value of the local flags
word.
TIOCGLTC The argument is a pointer to an ltchars structure. The values of the
appropriate characters in the terminal state are stored in that structure.
TIOCSLTC The argument is a pointer to an ltchars structure. The values of the
appropriate characters in the terminal state are set from the characters in
that structure.
FIORDCHK Returns the number of immediately readable characters. The argument is
ignored.
FIONREAD Returns the number of immediately readable characters in the int pointed
to by the argument.
LDSMAP Calls the function emsetmap (tp, mp) if the function is configured in the ker-
nel.
LDGMAP Calls the function emgetmap (tp, mp) if the function is configured in the ker-
nel.
LDNMAP Calls the function emunmap (tp, mp) if the function is configured in the ker-
nel.
The following ioctls are returned as successful for the sake of compatibility. However,
nothing significant is done (that is, the state of the terminal is not changed in any way).
TIOCSETD LDOPEN
TIOCGETD LDCLOSE
DIOCSETP LDCHG
DIOCSETP LDSETT
DIIOGETP LDGETT
SEE ALSO ioctl(2), termios(3), ldterm(7M), termio(7I)
NOTES TIOCBRK andTIOCCBRK should be handled by the driver. FIONREAD and FIORDCHK
are handled in the stream head.
modified 2 Jun 1995 7M-389