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

Freeing Memory from getipnodebyaddr() and getipnodebyname() Function Calls

» 

Technical documentation

Complete book in PDF

 » Table of Contents

The function call freehostent() frees the memory of one or more hostent() structures returned by the getipnodebyaddr() or getipnodebynameinfo() functions.

Syntax

void freehostent(struct hostent *ptr);

Parameters

*ptr: A pointer to the structure hostent.

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