Close the TCP connection and the hosts file
#include <netdb.h> void endhostent( void );
libsocket
Use the -l socket option to qcc to link against this library.
The endhostent() routine closes the TCP connection and the hosts file.
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