Open System Services System Calls Reference Manual (G06.25+, H06.03+)
bind(2) OSS System Calls Reference Manual
• The sockaddr structure specifies 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
specified in the sockaddr structure is not a directory.
[ENOTSOCK] The socket parameter does not refer to a socket.
[EOPNOTSUPP]
The socket type of the specified socket does not support binding to an address.
[EROFS] The socket is in the AF_UNIX domain and the specified name would reside on a
read-only fileset.
RELATED INFORMATION
Functions: connect(2), getsockname(2), listen(2), socket(2).
STANDARDS CONFORMANCE
The XPG4 specification allows certain behaviors to be implementer-defined. 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 specification:
• The errno value [ECONNRESET] can be returned when the transport provider process
is unavailable.
1−10 Hewlett-Packard Company 527186-003