endservent()

The endservent() call closes the ETC\SERVICES file, which contains information about known services.

Note: Calls made to the getservent(), getservbyname(), or getservbyport() call open the ETC\SERVICES file.

Syntax

#include <netdb.h>
void endservent()

Related Calls


[Back: endprotoent()]
[Next: gethostbyaddr()]