setprotoent - network protocol database function
#include <netdb.h> void setprotoent(int stayopen);
Refer to endprotoent().