Open System Services System Calls Reference Manual (G06.25+, H06.03+)
System Functions (a - d) bind(2)
[EADDRNOTAVAIL]
The specified address is not available on this HP NonStop node.
[EAFNOSUPPORT]
The specified address is not a valid address for the address family of the
specified socket.
[EBADF] The socket parameter is not a valid file descriptor.
[ECONNRESET]
One of the following conditions occurred:
• The transport-provider process for this socket is no longer available.
• The TCP/IP subsystem for this socket is no longer available.
• The connection was forcibly closed by the peer socket.
The socket can only be closed.
[EDESTADDRREQ]
The address parameter for an AF_UNIX socket is a null pointer.
[EFAULT] A user-supplied memory buffer cannot be accessed.
[EINVAL] One of the following conditions exists:
• The socket is already bound to an address.
• The socket has been shut down.
• The size specified for the address_len parameter is not valid for an
address in the address family that is used by this connection.
[EIO] An input or output error occurred for an AF_UNIX socket.
[ELOOP] The socket is in the AF_UNIX domain and too many symbolic links were
encountered when translating the pathname specified in the sockaddr structure.
[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.
[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.
527186-003 Hewlett-Packard Company 1−9