#include <sys/types.h> #include <sys/socket.h> #include <ifaddrs.h> int getifaddrs_ts64(struct ifaddrs * __ptr64 ifap)
The getifaddrs_ts64() function stores a reference to a linked list of ifaddrs structures, one structure per interface. getifaddrs_ts64() differs from getifaddrs() in that getifaddrs_ts64() accepts 8-byte teraspace pointers.
For a discussion of the parameters, authorities required, return values, and other related information, see getifaddrs()--Return All Interface Addresses.
All of the usage notes for getifaddrs()--Return All Interface Addresses apply to getifaddrs_ts64().