Resets the index for the protocols table.
Format
#include <netdb.h>
void endprotoent (void);
1 – Description
This function resets the index for the protocols table
previously accessed with a getprotoent(), getprotobyname(), or
getprotobynumber() function call.
Related Functions
See also getprotobyname(), getprotoent(), and
getprotobynumber().