| Updated: October 28, 2024 |
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 |