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:

POSIX 1003.1

Safety:  
Cancellation point No
Interrupt handler No
Signal handler No
Thread Yes

Last modified: 2013-12-23

comments powered by Disqus