Open System Services System Calls Reference Manual (G06.28+, H06.05+)
sendto(2) OSS System Calls Reference Manual
[EINTR] A signal interrupted the function before any data was transmitted.
[EIO] The socket is in the AF_UNIX domain and an input or output error occurred.
[EINVAL] The dest_len parameter is not a valid length for the address family.
[ELOOP] The socket is in the AF_UNIX domain and too many symbolic links were
encountered in translating the pathname in the sockaddr 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 the following conditions
exists:
• The pathname in the sockaddr structure exceeds PATH_MAX charac-
ters.
• A component of the pathname in the sockaddr structure exceeds
NAME_MAX characters.
• The intermediate result of pathname resolution when a symbolic link is
part of the pathname in the sockaddr structure exceeds PATH_MAX
characters.
The pathconf( ) function can be called to obtain the applicable limits.
[ENETDOWN]
The local interface used to reach the destination is down.
[ENETUNREACH]
No route to the network or host is present.
[ENOBUFS] There was not enough buffer space 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 the following conditions
exists:
• A component of the pathname specified in the sockaddr structure does
not name an existing file.
• The sockaddr structure specifies an empty string as a pathname.
[ENOMEM] Required memory resources were not available. A retry at a later time might
succeed.
[ENOTCONN] The socket is connection-oriented but is not connected.
[ENOTDIR] The socket is in the AF_UNIX domain and the pathname in the sockaddr struc-
ture 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.
7−32 Hewlett-Packard Company 527186-007