Updated: April 19, 2023 |
Close the TCP connection and the hosts file
#include <netdb.h> void endhostent( void );
The endhostent() routine closes the TCP connection and the hosts file.
Safety: | |
---|---|
Cancellation point | Yes |
Interrupt handler | No |
Signal handler | No |
Thread | No |