freeaddrinfo(3) Library Functions Manual freeaddrinfo(3)
NAME
freeaddrinfo - Frees system resources used by an address information structure
LIBRARY
Standard C Library (libc.so, libc.a)
SYNOPSIS
#include <netdb.h>
void freeaddrinfo( struct addrinfo *ai);
STANDARDS
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.
PARAMETERS
Points to a addrinfo structure to be freed. The netdb.h header file defines the addrinfo structure.
DESCRIPTION
The freeaddrinfo() routine frees one or more addrinfo structures and any dynamic storage associated with the structures. The process con-
tinues until the routine encounters a NULL ai_next pointer.
RELATED INFORMATION
Functions: connect(3), getaddrinfo(3), gai_strerror(3), gethostbyname(3), getservbyname(3), socket(3).
Files: hostname(5), resolv.conf(4), svc.conf(4).
Networks: bind_intro(7), nis_intro(7).
Standards: standards(5). delim off
freeaddrinfo(3)