getnetent (3) Linux Manual Page
NAME getnetent, getnetbyname, getnetbyaddr, setnetent, endnetent – get network entry SYNOPSIS #include <netdb.h> struct netent *getnetent(void); struct netent *getnetbyname(const char *name); struct netent *getnetbyaddr(uint32_t net, int type); void setnetent(int stayopen); void endnetent(void); DESCRIPTION The getnetent() function reads the next entry from the networks database and returns a netent structure containing the broken-out fields from the…
