Open System Services Library Calls Reference Manual (G06.27+, H06.04+)

OSS Library Calls (g - h) getnameinfo(3)
all other error codes
Unknown error.
ERRORS
If the EAI_SYSTEM condition occurs, the function sets errno to the corresponding value:
[ENOSPC] The buffer allocated for the returned 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), getaddrinfo(3), getipnode-
byaddr(3), getipnodebyname(3), if_freenameindex(3), if_indextoname(3), if_nameindex(3),
if_nametoindex(3), inet_pton(3), inet_ntop(3).
Files: hosts(4), ipnodes(4).
STANDARDS CONFORMANCE
This function is an extension to the XPG4 specication.
527187-004 Hewlett-Packard Company 349