Open System Services System Calls Reference Manual (G06.27+, H06.04+)

System Functions (s and S) sendto(2)
[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 specied in the sockaddr structure does
not name an existing le.
The sockaddr structure species 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 specied value for the ags parameter is not supported for this socket type
or protocol.
527186-004 Hewlett-Packard Company 731