if_freenameindex() — Free the memory allocated by if_nameindex()
Standards
Standards / Extensions | C or C++ | Dependencies |
---|---|---|
RFC2553 |
both | z/OS® V1R4 |
Format
#define _OPEN_SYS_SOCK_IPV6
#include <net/if.h>
void if_freenameindex(struct if_nameindex *ptr);
SUSV3:
#define _POSIX_C_SOURCE 200112L
#include <net/if.h>
void if_freenameindex(struct if_nameindex *ptr);
General description
The if_freenameindex() function frees the memory allocated by if_nameindex(). The ptr argument must be a pointer that was returned by if_nameindex().
Returned value
No return value is defined.