Open System Services System Calls Reference Manual (G06.28+)
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] Insufficient storage was supplied via buffer and buflen 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 specification. 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 file spthread.h is an HP exception to the POSIX standard.
527186-005 Hewlett-Packard Company 3−59