if_freenameindex(3) Library Functions Manual if_freenameindex(3)
NAME
if_freenameindex - Frees dynamic memory allocated to the array of interface names and indexes
LIBRARY
Standard C Library (libc.so, libc.a)
SYNOPSIS
#include <net/if.h>
void *if_freenameindex ( struct if_nameindex *ptr) ;
PARAMETERS
Points to an array of structures returned by the if_nameindex() routine.
DESCRIPTION
The if_freenameindex() function frees dynamic memory allocated to the array of interface names and indexes that the if_nameindex() routine
returned.
RELATED INFORMATION
Functions: if_indextoname(3), if_nameindex(3), if_nametoindex(3). delim off
if_freenameindex(3)