if_freenameindex(3) — Subroutines
NAME
if_freenameindex − Free dynamic memory allocated to the array of interface names and indexes
SYNOPSIS
#include <net/if.h>
void ∗if_freenameindex(
struct if_nameindex ∗ptr );
LIBRARY
Standard C Library (libc)
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() function returned.
SEE ALSO
Functions: if_indextoname(3), if_nameindex(3), if_nametoindex(3).