#include <sys/socket.h> #include <netdb.h> int getaddrinfo_ts64(const char * __ptr64 nodename, const char * __ptr64 servname, const struct addrinfo * __ptr64 hints, struct addrinfo * __ptr64 *__ptr64 res);
The getaddrinfo_ts64() function translates the name of a service location (for example, a host name) and/or a service name and returns a set of socket addresses and associated information to be used in creating a socket with which to address the specified service. getaddrinfo_ts64() differs from getaddrinfo() in that getaddrinfo_ts64() accepts 8-byte teraspace pointers.
For a discussion of the parameters, authorities required, return values, and other related information, see getaddrinfo()--Get Address Information.