HPlogo HP-UX IPv6 Porting Guide: HP-UX 11i v2 September 2004 > Chapter 9  Freeing Memory

Freeing Memory from getaddrinfo() and getnameinfo() Function Calls

» 

Technical documentation

Complete book in PDF

 » Table of Contents

The function call freeaddrinfo() frees the memory of one or more addrinfo() structures returned by the getaddrinfo() or getnameinfo() functions.

Header Files

#include <netdb.h>

Syntax

void freeaddrinfo(struct addrinfo *ai);

Parameters

*ai: pointer to the structure addrinfo.

© 2004 Hewlett-Packard Development Company, L.P.