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

freeaddrinfo(3)

NAME

freeaddrinfo - Free system resources used by an address information structure

SYNOPSIS

#include <netdb.h> void freeaddrinfo( struct addrinfo *ai );

LIBRARY

Standard C Library (libc)

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 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.

SEE ALSO

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

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