Closes the services database file. Format #include <netdb.h> void endservent (void);
1 – Description
This function closes the services database file (TCPIP$ETC:SERVICES.DAT), previously opened with the getservent(), getservbyname(), or getservbyport() function. Related Functions See also getservent(), getservbyname(), and getservbyport().