Open System Services Library Calls Reference Manual (G06.28+, H06.05+)

OSS Library Calls (g - h) getaddrinfo(3)
ERRORS
If the EAI_SYSTEM condition occurs, the function sets errno to the corresponding value:
[ENOSPC] The buffer allocated for the return value is not large enough to contain the
requested data.
[EPROTOTYPE]
The specied address has a different type than that of the socket bound to the
specied peer address.
RELATED INFORMATION
Functions: freeaddrinfo(3), freehostent(3), gai_strerror(3), getipnodebyaddr(3), getipnode-
byname(3), getnameinfo(3), if_freenameindex(3), if_indextoname(3), if_nameindex(3),
if_nametoindex(3), inet_pton(3), inet_ntop(3).
STANDARDS CONFORMANCE
This function is an extension to the XPG4 specication.
527187-007 Hewlett-Packard Company 311