endhostent()

close the host database file

Synopsis:

#include <netdb.h>

void endhostent( void );

Description:

The endhostent() routine closes the host database file.

Files:

/etc/hosts
Host database file.

Classification:

POSIX 1003.1g (draft)

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

gethostbyaddr() gethostbyname() gethostent(), hostent, sethostent()

/etc/hosts, /etc/resolv.conf, named in the TCP/IP User's Guide