setprotoent
void setprotoent(int);
setprotoent(0);
setprotoent(1);
setprotoent(++isopen);
setprotoent(1); /* make protocol lookup cheaper */