Adaptec AHA-1520A Wartungshandbuch Seite 188

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 434
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 187
ldterm(7M) STREAMS Modules SunOS 5.5
termio(7I) processing is to be done. If the command field of the iocblk structure
(ioc_cmd) is set to MC_NO_CANON, the input canonical processing normally
performed on M_DATA messages is disabled and those messages are passed
upstream unmodified; this is for the use of modules or drivers that perform their
own input processing, such as a pseudo-terminal in TIOCREMOTE mode con-
nected to a program that performs this processing. If the command is
MC_DO_CANON, all input processing is enabled. If the command is
MC_PART_CANON, then an M_DATA message containinga termios structure
is expected to be attached to the original M_CTL message. The ldterm module
will examine the iflag, oflag, and lflag fields of the termios structure and from
then on will process only those flags which have not been turnedON. If none of
the above commands are found, the message is ignored; in any case, the message
is passed upstream.
M_FLUSH
The read queue of the module is flushed of all its data messages and all data in
the record being accumulated are also flushed. The message is passed upstream.
M_IOCACK
The data contained withinthe message, which is to be returned to the process,
are augmented if necessary, and the message is passed upstream.
All other messages are passed upstream unchanged.
Write-side Behavior Various types of STREAMS messages are processed as follows:
M_FLUSH
The write queue of the module is flushed of all its data messages and the mes-
sage is passed downstream.
M_IOCTL
The function of this ioctl is performed and the message is passed downstream in
most cases. The TCFLSH and TCXONC ioctls can be performed entirely in the
ldterm module, so the reply is sent upstream and the message is not passed
downstream.
M_DATA
If the OPOST flag is set, or both the XCASE and ICANON flags are set, output
processing is performed and the processed message is passed downstream along
with any M_DELAY messages generated. Otherwise, the message is passed
downstream without change.
All other messages are passed downstream unchanged.
IOCTLS ldterm processes the following TRANSPARENT ioctls. All others are passed down-
stream.
TCGETS/TCGETA
The message is passed downstream; if an acknowledgment is seen, the data pro-
vided by the driver and modules downstream are augmented and the ack-
nowledgement is passed upstream.
7M-184 modified 3 Jul 1990
Seitenansicht 187
1 2 ... 183 184 185 186 187 188 189 190 191 192 193 ... 433 434

Kommentare zu diesen Handbüchern

Keine Kommentare