endprotoent()

The endprotoent() call closes the ETC\PROTOCOL file, which contains information about known protocols.

Note: Calls made to the getprotoent(), getprotobyname(), or getnetbynumber() call open the ETC\PROTOCOL file.

Syntax

#include <netdb.h>
void endprotoent()

Related Calls


[Back: endnetent()]
[Next: endservent()]