HP-UX Reference (11i v1 05/09) - 3 Library Functions A-M (vol 6)
g
gethostent(3N) gethostent(3N)
The reentrant routines return -1 if the operation is unsuccessful, or, in the case of
gethostent_r(),if
the end of the hosts list has been reached.
0 is returned otherwise.
AUTHOR
gethostent() was developed by Sun Microsystems Inc.
FILES
/etc/hosts
SEE ALSO
nis+(1), named(1M), ypserv(1M), resolver(3N), ypclnt(3C), hosts(4), nsswitch.conf(4), ypfiles(4),
thread_safety(5).
STANDARDS CONFORMANCE
gethostent() : XPG4
Section 3−−332 Hewlett-Packard Company − 5 − HP-UX 11i Version 1: September 2005