freehostent (3) Linux Manual Page
NAME getipnodebyname, getipnodebyaddr, freehostent – get network hostnames and addresses SYNOPSIS #include <netdb.h> #include <sys/socket.h> #include <sys/types.h> struct hostent *getipnodebyname(const char *name, int af, int flags, int *error_num); struct hostent *getipnodebyaddr(const void *addr, size_t len, int af, int *error_num); void freehostent(struct hostent *ip); DESCRIPTION These functions are deprecated (and unavailable in glibc). Use getaddrinfo(3) and…
