Operating systems, development tools, and professional
services for connected embedded systems
Home
Developer Resources
Developer Support

QNX Developer Support

PDF Documents
More resources
[Previous] [Contents] [Index] [Next]

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

See also:

getifaddrs(), if_indextoname(), if_nameindex(), if_nametoindex()


[Previous] [Contents] [Index] [Next]
 
©2013 QNX Software Systems Limited, a subsidiary of BlackBerry.   BlackBerry Logo