getipnodebyname
struct hostent *getipnodebyname(const char *, int, int, int *);
hp = getipnodebyname(optarg, AF_INET6, 0, &h_errno);