.TH endhostent() "" "" "Sockets Function (libsocket)"
.PC "Close file /etc/hosts"
.B "#include <netdb.h>"
.B "void endhostent();"
.PP
The function
.B endhostent()
is one of a set of functions that interrogate the file
.B /etc/hosts
to look up information about a remote host on a network.
It closes
.B /etc/hosts
upon the conclusion of searching.
.SH "See Also"
.Xr "gethostbyaddr()," gethostba
.Xr "gethostbyname()," gethostbn
.Xr "libsocket," libsocket
.Xr "sethostent()" sethosten
