HPlogo HP-UX IPv6 Porting Guide: HP-UX 11i v2 September 2004 > Chapter 12  Identifying Local Interface Names and Indexes

Freeing Memory

» 

Technical documentation

Complete book in PDF

 » Table of Contents

The if_freenameindex() function frees the dynamic-memory allocated by if_nameindex().

Header Files

#include <net/if.h>

Syntax

void  if_freenameindex(struct if_nameindex *ptr);

The ptr parameter is the pointer returned by a previous if_nameindex() call.

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