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

spt_sendtox(2) OSS System Calls Reference Manual
[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 structure 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.
[EPIPE] One of the following conditions occurred:
An attempt was made to send a message on a socket that
is shut down for writing.
An attempt was made to send a message on a
connection-oriented socket and the peer socket is closed
or shut down for reading. The SIGPIPE signal is also
sent to the calling process.
[EWOULDBLOCK]
The socket le descriptor is marked nonblocking
(O_NONBLOCK is set) and the operation would block.
RELATED INFORMATION
Functions: getsockopt(2), recv(2), recvfrom(2), recvmsg(2), select(2), send(2), sendmsg(2),
sendto(2), setsockopt(2), shutdown(2), socket(2), spt_recvx(2), spt_recvfromx(2),
spt_recvmsgx(2), spt_sendto(2), spt_sendx(2), spt_sendmsgx(2).
STANDARDS CONFORMANCE
This function is an extension to the UNIX 98 specication. Interfaces documented on this refer-
ence page conform to the following industry standards:
IEEE Std 1003.1c-1995, POSIX System Application Program Interface
The use of the header le spthread.h is an HP exception to the POSIX standard.
7300 Hewlett-Packard Company 527186-005