getaddrinfo_ts64()--Get Address Information
Syntax
#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);
Service Program Name: QSOSRV2
Default Public Authority: *USE
Threadsafe: Yes
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.
Usage Notes
-
All of the usage notes for getaddrinfo()--Get Address Information
apply to getaddrinfo_ts64().
- When you develop in C-based languages and an application is compiled with the _XOPEN_SOURCE macro defined to the value 520 or greater, the getaddrinfo_ts64() API is mapped to qso_getaddrinfo98_ts64().
API introduced: V6R1