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().