freeaddrinfo - Free system resources used by an address
information structure
#include <netdb.h>
void freeaddrinfo(
struct addrinfo *ai );
Standard C Library (libc)
The freeaddrinfo function supports POSIX.1g Draft 6.6.
Refer to the standards(5) reference page for more information
about industry standards and associated tags.
Points to a addrinfo structure to be freed. The netdb.h
header file defines the addrinfo structure.
The freeaddrinfo() routine frees one or more addrinfo
structures and any dynamic storage associated with the
structures. The process continues until the routine
encounters a NULL ai_next pointer.
Functions: connect(2), getaddrinfo(3), gai_strerror(3),
gethostbyname(3), getservbyname(3), socket(2).
Files: hostname(5), resolv.conf(4), svc.conf(4).
Networks: bind_intro(7), nis_intro(7).
Standards: standards(5).
Network Programmer's Guide
freeaddrinfo(3)
[ Back ] |