Index Index for
Section 3
Index Alphabetical
listing for F
Index Bottom of
page

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

ai Points to a addrinfo structure to be freed. The netdb.h header file defines the addrinfo structure.

DESCRIPTION

The freeaddrinfo() routine frees an addrinfo structure and any dynamic storage pointed to by the structure. The process continues until the routine encounters a NULL ai_next pointer.

RELATED INFORMATION

Functions: endhostent(3), getaddrinfo(3), gai_strerror(3), gethostbyaddr(3), sethostent(3). Files: hostname(5), resolv.conf(4), svc.conf(4). Networks: bind_intro(7), nis_intro(7). Standards: standards(5).

Index Index for
Section 3
Index Alphabetical
listing for F
Index Top of
page