Opens, rewinds, or closes the networks database file. Syntax: #include <netdb.h> void setnetent (int stay_open);