if_freenameindex(3) — Subroutines
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
ptrPoints 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).