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

System Functions (a - d) bind(2)
The sockaddr structure species an empty string as a pathname.
[ENOBUFS] There was not enough buffer space available to complete the call. A retry at a
later time might succeed.
[ENOMEM] Required memory resources were not available. A retry at a later time might
succeed.
[ENOTDIR] The socket is in the AF_UNIX domain and a component of the pathname
specied in the sockaddr structure is not a directory.
[ENOTSOCK] The socket parameter does not refer to a socket.
[EOPNOTSUPP]
The socket type of the specied socket does not support binding to an address.
[EROFS] The socket is in the AF_UNIX domain and the specied name would reside on a
read-only leset.
RELATED INFORMATION
Functions: connect(2), getsockname(2), listen(2), socket(2).
STANDARDS CONFORMANCE
The XPG4 specication allows certain behaviors to be implementer-dened. The following are
choices of the HP implementation:
The HP implementation does not return the errno values [EISCONN], [EISDIR],
[ENOSR], or [EPROTO].
The following are HP extensions to the XPG4 specication:
The errno value [ECONNRESET] can be returned when the transport provider process
is unavailable.
527186-005 Hewlett-Packard Company 111