endhostent

Closes host database file.

Format

#include  <netdb.h>

void endhostent  (void);

Description

The endhostent routine closes the network host database file, previously opened with the gethostbyaddr or gethostbyname routine.

See also gethostbyaddr, and gethostbyname in this section.

Errors
  If the endhostent routine does not exist in your TCP/IP library, then errno is set to ENOSYS. 


Previous Page | Next Page | Table of Contents | Index