VMS Help — TCPIP Services, Programming Interfaces, Socket API Functions, endservent() 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().