Opens, rewinds, and closes the network host database file. Syntax: #include <netdb.h> void sethostent (int stay_open);