Open System Services System Calls Reference Manual (G06.29+, H06.08+, J06.03+)
sendmsg64_(2) OSS System Calls Reference Manual
[EIO] The socket is in the AF_UNIX domain, and the transport agent failed to inherit
the file descriptors being passed, or an input or output error occurred.
[ELOOP] The socket is in the AF_UNIX domain, and too many symbolic links were
encountered in translating the pathname specified by the msghdr64 structure.
[EMSGSIZE] The message is too large to be sent all at once, as required by the socket.
[ENAMETOOLONG]
The socket is in the AF_UNIX domain, and one of these conditions exists:
• The pathname in the msghdr64 structure exceeds PATH_MAX charac-
ters.
• A component of the pathname in the msghdr64 structure exceeds
NAME_MAX characters.
• The intermediate result of pathname resolution when a symbolic link is
part of the pathname in the msghdr64 structure exceeds PATH_MAX
characters.
The pathconf( ) function can be called to obtain the applicable limits.
[ENOBUFS] Not enough buffer space was available to complete the call. A retry at a later
time might succeed.
[ENOENT] The socket is in the AF_UNIX domain, and one of these conditions occurred:
• A component of the pathname in the msghdr64 structure does not name
an existing file.
• The msghdr64 structure specifies an empty string as a pathname.
[ENOMEM] There was insufficient memory available to complete the operation.
[ENOPROTOOPT]
The socket is in the AF_UNIX domain, and the cmsg_level member is not equal
to SOL_SOCKET.
[ENOTCONN] The socket is connection-oriented but is not connected.
[ENOTDIR] The socket is in the AF_UNIX domain, and the pathname specified by the
msghdr64 structure contains a component that is not a directory.
[ENOTSOCK] The socket parameter does not refer to a socket.
[EOPNOTSUPP]
The specified value for the flags parameter is not supported for this socket type
or protocol.
[EPERM] The address included in the message parameter is bound to a socket whose mode
is different than the mode of the socket specified by the socket parameter.
[EPIPE] One of these conditions occurred:
• An attempt was made to send a message on a socket that is shut down
for writing.
7−42 Hewlett-Packard Company 527186-023