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

System Functions (f - i) gethostent_r(2)
NO_DATA | NO_ADDRESS
The requested name is valid but no associated address was found. Another type
of name server request might succeed.
In addition, if the following condition occurs, the gethostent_r() function sets errno to the
corresponding value:
[ERANGE] Insufcient storage was supplied via buffer and buen to contain the data to be
referenced by the resulting hostent structure.
FILES
/etc/hosts The Internet network hostname database.
RELATED INFORMATION
Functions: gethostbyname(3), gethostbyname_r(2), gethostbyaddr(3), gethostbyaddr_r(2),
sethostent(3).
Files: hosts(4).
STANDARDS CONFORMANCE
This function is an extension to the UNIX98 specication. Interfaces documented on this refer-
ence page conform to the following industry standards:
IEEE Std 1003.1c-1995, POSIX System Application Program Interface
The use of the header le spthread.h is an HP exception to the POSIX standard.
527186-007 Hewlett-Packard Company 379