endprotoent

Closes the protocols database file.

Format

#include  <netdb.h>

void endprotoent  (void);

Description

The endprotoent routine closes the network protocols database file, previously opened with the getprotoent, getprotobyname, or getprotobynumber routine.

See also getprotobyname, getprotoent and getprotobynumber in this section.

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


Previous Page | Next Page | Table of Contents | Index