Adaptec AHA-1520A Wartungshandbuch Seite 336

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 434
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 335
streamio(7I) Ioctl Requests SunOS 5.5
EINVAL One of the following: fildes in the strfdinsert structure
is not a valid, open stream file descriptor; the size of a
pointer plus offset is greater than the len field for the
buffer specified through ctlptr; offset does not specify
a properly-aligned location in the data buffer; an
undefined value is stored in flags.
ENXIO Hangup received on fildes of the ioctl call or fildes in
the strfdinsert structure.
ERANGE The len field for the buffer specified through databuf
does not fall within the range specified by the max-
imum and minimum packet sizes of the topmost
stream module, or the len field for the buffer specified
through databuf is larger than the maximum
configured size of the data part of a message, or the len
field for the buffer specified through ctlbuf is larger
than the maximum configured size of the control part
of a message.
I_FDINSERT can also fail if an error message was received by the stream
head of the stream corresponding to fildes in the strfdinsert structure.
In this case, errno will be set to the value in the message.
I_STR Constructs an internalSTREAMS ioctl message from the data pointed to
by arg, and sends that message downstream.
This mechanism is provided to send user ioctl requests to downstream
modules and drivers. It allows information to be sent with the ioctl, and
will return to the user any information sent upstream by the down-
stream recipient. I_STR blocks until the system responds with either a
positive or negative acknowledgement message, or until the request
"times out" after some period of time. If the request times out, it fails
with errno set toETIME.
At most one I_STR can be active on a stream. Further I_STR calls will
block until the active I_STR completes at the stream head. The default
timeout interval for these requests is 15 seconds. The O_NDELAY and
O_NONBLOCK (see open(2)) flags have no effect on this call.
7I-332 modified 24 Jan 1995
Seitenansicht 335
1 2 ... 331 332 333 334 335 336 337 338 339 340 341 ... 433 434

Kommentare zu diesen Handbüchern

Keine Kommentare