streamio.7 (2010 09)
s
streamio(7) streamio(7)
[EINVAL] The bi_pri parameter value exceeds the maximum band, or the bi_flag parameter is
not
FLUSHR, FLUSHW,orFLUSHRW
.
I_GETBAND
[ENODATA] No message exists on the stream head read queue.
I_GETSIG
[EINVAL] User process is not registered to receive the
SIGPOLL signal.
[EFAULT] arg points outside the allocated address space.
I_GRDOPT
[EFAULT] arg is pointing outside the allocated address space.
I_LINK
[EAGAIN] Temporarily unable to allocate storage to perform the linking operation.
[EBADF] The arg parameter not a valid open file descriptor.
[ENXIO] A hangup was received on fildes .
[EINVAL] The stream referred to by fildes does not support multiplexing.
[EINVAL] The file referred to by arg is not a stream, or the stream is already linked under a
multiplexor.
[EINVAL] The link operation would cause a "cycle" in the resulting multiplexing configuration.
In other words, the driver referred to by the arg parameter is linked into this
configuration at multiple places
[ENOSR] Not enough STREAMS memory resources to allocate storage for this command.
[ETIME] Acknowledgement message not received at stream head before timeout.
The
I_LINK ioctl can also fail if an M_ERROR or M_HANGUP message is received at the
stream head for fildes before receiving the driver acknowledgement. In addition, an error can
be returned in an M_IOCACK or M_IOCNAK message. When these occur, the I_LINK ioctl
fails with errno set to the value in the message.
I_LIST
[EINVAL] sl_nmods is less than 1.
[EAGAIN] Could not allocate buffers.
I_LOOK
[EINVAL] There are no modules in the stream.
[EFAULT] arg points outside the allocated address space.
I_NREAD
[EFAULT] arg is pointing outside the allocated address space.
I_PEEK
[EINVAL] The flags parameter is an illegal value.
[EFAULT] arg points, or
ctrlbuf or databuf is, outside the allocated address space.
[EBADMSG] Message to be looked at is not valid for the
I_PEEK command.
I_PLINK
[ENXIO] A hangup was received on the stream referred to by the fildes parameter.
[ETIME] A timeout occurred before an acknowledgement message was received at the stream
head.
[EAGAIN] Temporarily unable to allocate storage to perform the linking operation.
[EBADF] arg is not a valid open file descriptor.
[EINVAL] The stream referred to by fildes does not support multiplexing.
8 Hewlett-Packard Company − 8 − HP-UX 11i Version 3: September 2010