Open System Services Library Calls Reference Manual (G06.29+, H06.08+, J06.03+)

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 specified address has a different type than that of the socket bound to the
specified 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 specification.
527187-017 Hewlett-Packard Company 383