if_freenameindex()
Free dynamic memory allocated by if_nameindex()
Synopsis:
#include <net/if.h>
void if_freenameindex( struct if_nameindex * ptr );
Arguments:
- ptr
- A pointer to the if_nameindex structure to be freed.
Library:
libsocket
Use the -l socket option to qcc to link against this library.
Description:
The if_freenameindex() function frees the dynamic memory that you allocated by calling if_nameindex().
Classification:
| Safety: | |
|---|---|
| Cancellation point | No |
| Interrupt handler | No |
| Signal handler | No |
| Thread | Yes |
Page updated:
