endhostent()
Close the TCP connection and the hosts file
Synopsis:
#include <netdb.h> void endhostent( void );
Description:
The endhostent() routine closes the TCP connection and the hosts file.
Files:
- /etc/hosts
- Host database file.
Classification:
| Safety: | |
|---|---|
| Cancellation point | Yes |
| Interrupt handler | No |
| Signal handler | No |
| Thread | No |