Close the TCP connection and the hosts file
#include <netdb.h> void endhostent( void );
libsocket
The endhostent() routine closes the TCP connection and the hosts file.
Standard Unix, POSIX 1003.1g (draft)
| Safety: | |
|---|---|
| Cancellation point | Yes |
| Interrupt handler | No |
| Signal handler | No |
| Thread | No |
gethostbyaddr(), gethostbyname(), gethostent(), hostent, sethostent()
/etc/hosts, /etc/resolv.conf in the Utilities reference