endservent

Closes the network services database file.

Format

#include  <netdb.h>

void endservent  (void);

Description

The endservent routine closes the network services database file, previously opened with the getservent, getservbyname, or getservbyport routine.

See also getservent, getservbyname, and getservbyport in this section.

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


Previous Page | Next Page | Table of Contents | Index