address-to-name translation in protocol-independent manner NAME getnameinfo - address-to-name translation in protocol-independent manner LIBRARY Standard C library (......cs. EXAMPLES The program below demonstrates the use of getifaddrs (), freeifaddrs (), and getnameinfo (3). Here is what we see when running this program on one system: $ ./a.out…...cs. EXAMPLES The program below demonstrates the use of getifaddrs (), freeifaddrs (), and getnameinfo (3). Here is what we see when running this program on one system: $ ./a.out…...s[i]->ar_name); ret = gai_error(reqs[i]); if (ret == 0) { res = reqs[i]->ar_result; ret = getnameinfo(res->ai_addr, res->ai_addrlen, host, sizeof(host), NULL, 0, NI_NUMERICHOST)…...s[i]->ar_name); ret = gai_error(reqs[i]); if (ret == 0) { res = reqs[i]->ar_result; ret = getnameinfo(res->ai_addr, res->ai_addrlen, host, sizeof(host), NULL, 0, NI_NUMERICHOST)…...s[i]->ar_name); ret = gai_error(reqs[i]); if (ret == 0) { res = reqs[i]->ar_result; ret = getnameinfo(res->ai_addr, res->ai_addrlen, host, sizeof(host), NULL, 0, NI_NUMERICHOST)…...s[i]->ar_name); ret = gai_error(reqs[i]); if (ret == 0) { res = reqs[i]->ar_result; ret = getnameinfo(res->ai_addr, res->ai_addrlen, host, sizeof(host), NULL, 0, NI_NUMERICHOST)…...IPTION These functions are deprecated (and unavailable in glibc). Use getaddrinfo (3) and getnameinfo (3) instead. The getipnodebyname () and getipnodebyaddr () functions return…...IPTION These functions are deprecated (and unavailable in glibc). Use getaddrinfo (3) and getnameinfo (3) instead. The getipnodebyname () and getipnodebyaddr () functions return…...IPTION These functions are deprecated (and unavailable in glibc). Use getaddrinfo (3) and getnameinfo (3) instead. The getipnodebyname () and getipnodebyaddr () functions return…...ror (), and hstrerror () functions are obsolete. Applications should use getaddrinfo (3), getnameinfo (3), and gai_strerror (3) instead. The sethostent () function specifies, if…...ror (), and hstrerror () functions are obsolete. Applications should use getaddrinfo (3), getnameinfo (3), and gai_strerror (3) instead. The sethostent () function specifies, if…...ror (), and hstrerror () functions are obsolete. Applications should use getaddrinfo (3), getnameinfo (3), and gai_strerror (3) instead. The sethostent () function specifies, if…...ror (), and hstrerror () functions are obsolete. Applications should use getaddrinfo (3), getnameinfo (3), and gai_strerror (3) instead. The sethostent () function specifies, if…...ror (), and hstrerror () functions are obsolete. Applications should use getaddrinfo (3), getnameinfo (3), and gai_strerror (3) instead. The sethostent () function specifies, if…...ror (), and hstrerror () functions are obsolete. Applications should use getaddrinfo (3), getnameinfo (3), and gai_strerror (3) instead. The sethostent () function specifies, if…...ror (), and hstrerror () functions are obsolete. Applications should use getaddrinfo (3), getnameinfo (3), and gai_strerror (3) instead. The sethostent () function specifies, if…...ror (), and hstrerror () functions are obsolete. Applications should use getaddrinfo (3), getnameinfo (3), and gai_strerror (3) instead. The sethostent () function specifies, if…...ror (), and hstrerror () functions are obsolete. Applications should use getaddrinfo (3), getnameinfo (3), and gai_strerror (3) instead. The sethostent () function specifies, if…...ror (), and hstrerror () functions are obsolete. Applications should use getaddrinfo (3), getnameinfo (3), and gai_strerror (3) instead. The sethostent () function specifies, if…