The sethostent() call opens and rewinds the ETC\HOSTS file.
Syntax
#include <netdb.h> void sethostent(stayopen) int stayopen;
Parameters
stayopen
Description
This call opens and rewinds the ETC\HOSTS file. If the stayopen parameter is nonzero, the ETC\HOSTS file stays open after each of the gethost calls.
Related Calls