Open System Services System Calls Reference Manual (G06.28+)

System Functions (s and S) spt_sendmsgx(2)
[EAFNOSUPPORT]
Addresses in the specied address family cannot be used with
this socket.
[EBADF] One of these conditions exists:
The socket parameter is not a valid le descriptor.
The socket is in the AF_UNIX domain, and one or more
of the le descriptors being passed is invalid.
[ECONNRESET]
One of these conditions occurred:
The transport-provider process for this socket is no
longer available.
The TCP/IP subsystem for this socket is no longer avail-
able.
The connection was forcibly closed by the peer socket.
The socket can only be closed.
[EDESTADDRREQ]
The socket is not connection-oriented, no peer address is set, and
no destination address is specied.
[EFAULT] A user-supplied memory buffer cannot be accessed.
[EINTR] A signal interrupted the function before any data was transmit-
ted.
[EINVAL] One of these conditions occurred:
The socket is in the AF_UNIX domain, and the
msg_control member contains either more than 16 le
descriptors or fewer than 1 le descriptor.
The socket is in the AF_UNIX domain, and an attempt
was made to send more than one cmsghdr structure.
The socket is in the AF_UNIX domain, and the value of
the cmsg_len member is not equal to the value of the
msg_controllen member.
The socket is in the AF_UNIX domain, and the
cmsg_type member is not equal to SCM_RIGHTS.
The sum of the values specied for the msg_iovlen
member of the msghdr structure is too large for a data
item of type ssize_t.
[EIO] The socket is in the AF_UNIX domain, and the transport agent
failed to inherit the le descriptors being passed, or an input or
output error occurred.
527186-005 Hewlett-Packard Company 7293