endservent()

close the network services database file

Synopsis:

#include <netdb.h>

void endservent( void );

Description:

The endservent() routine closes the network services database file.

Files:

/etc/services
Network services database file.

Classification:

POSIX 1003.1g (draft)

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

getservbyname(), getservbyport(), getservent(), servent, setservent()

/etc/services in the TCP/IP User's Guide