endprotoent()

close the protocol name database file

Synopsis:

#include <netdb.h>

void endprotoent( void );

Description:

The endprotoent() function closes the protocol name database file.

Files:

/etc/protocols
Protocol name database file.

Classification:

POSIX 1003.1g (draft)

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

getprotobyname(), getprotobynumber(), getprotoent(), protoent, setprotoent()

/etc/protocols in the TCP/IP User's Guide