Open System Services System Calls Reference Manual (G06.28+, H06.05+)
bind(2) OSS System Calls Reference Manual
[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.
[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
Commands: getacl, setacl(1).|
Functions: acl(2), connect(2), getsockname(2), listen(2), socket(2).|
Miscellaneous topics: acl(5).|
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−16 Hewlett-Packard Company 527186-007