streamio.7 (2010 09)

s
streamio(7) streamio(7)
[EINVAL] The file referred to by arg is not a stream or is already linked under a multiplexing
driver.
[EINVAL] The link operation would cause a "cycle" in the resulting multiplexing configuration.
In other words, the driver referred to by arg is linked into the configuration at mul-
tiple places.
I_POP
[EINVAL] There are not modules in the stream.
[ENXIO] Error value returned by the module being popped.
[ENXIO] A hangup was received on fildes .
I_PUNLINK
[ENXIO] A hangup was received on fildes .
[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.
[EINVAL] arg is an invalid multiplexor ID number.
[EINVAL] fildes is the file descriptor of a pipe.
An
I_PUNLINK ioctl can also fail if it is waiting for the multiplexor to acknowledge the
unlink request and an error (M_ERROR) message, or hangup (M_HANGUP) is received at the
stream head for fildes . In addition, an error can be returned in an M_IOCACK or
M_IOCNAK
message. When these occur, the P_UNLINK ioctl fails with errno set to the value in the
message.
I_PUSH
[EINVAL] An invalid module name was used.
[EFAULT] arg points outside the allocated address space.
[ENXIO] Error value returned by the module being pushed. The push has failed.
[ENXIO] A hangup was received on fildes .
I_RECVFD
[EAGAIN] The O_NONBLOCK option was set, and a message was not present on the stream
head read queue.
[EFAULT] The arg parameter points outside the allocated address space.
[EBADMSG] The message present on the stream head read queue did not contain a passed file
descriptor.
[EMFILE] Too many open files. No more file descriptors are permitted to be opened.
[ENXIO] A hangup was received on fildes .
I_SENDFD
[EAGAIN] The sending stream head could not allocate a message block for the file pointer.
[EAGAIN] The read queue of the receiving stream head was full and could not accept the mes-
sage.
[EBADF] The arg parameter is not a valid open file descriptor.
[EINVAL] The fildes parameter does not refer to a stream.
[ENXIO] A hangup was received on fildes .
I_SETCLTIME
[EINVAL] arg has an illegal value.
I_SETSIG
[EINVAL] The user process is not registered to receive the SIGPOLL signal.
HP-UX 11i Version 3: September 2010 9 Hewlett-Packard Company 9