Closes host database file.
#include <netdb.h> void endhostent (void);
See also gethostbyaddr, and gethostbyname in this section.