[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

Technical Reference: Communications, Volume 2

if_freenameindex Subroutine

Purpose

Frees the dynamic memory that was allocated by the if_nameindex Subroutine.

Library

Library (libc.a)

Syntax

#include <net/if.h>

void if_freenameindex (struct if_nameindex *ptr);

Description

The ptr parameter is a pointer returned by the if_nameindex subroutine. After the if_freenameindex subroutine has been called, the application must not use the array of which ptr is the address.

Parameters

ptr Pointer returned by the if_nameindex subroutine

Related Information

if_nametoindex Subroutine, if_indextoname Subroutine, and if_nameindex Subroutine.

Subroutines Overview in AIX 5L Version 5.2 General Programming Concepts: Writing and Debugging Programs.

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]