![]() |
![]() |
![]() |
![]() |
![]() |
This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. |
Free dynamic memory allocated by if_nameindex()
#include <net/if.h> void if_freenameindex( struct if_nameindex * ptr );
libsocket
Use the -l socket option to qcc to link against this library.
The if_freenameindex() function frees the dynamic memory that you allocated by calling if_nameindex().
| Safety: | |
|---|---|
| Cancellation point | No |
| Interrupt handler | No |
| Signal handler | No |
| Thread | Yes |
getifaddrs(), if_indextoname(), if_nameindex(), if_nametoindex()
![]() |
![]() |
![]() |
![]() |