![]() |
![]() |
![]() |
![]() |
![]() |
This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. |
Free a network interface address
#include <sys/types.h> #include <sys/socket.h> #include <ifaddrs.h> void freeifaddrs( struct ifaddrs * ifap );
libsocket
Use the -l socket option to qcc to link against this library.
The freeifaddrs() function frees the dynamically allocated data returned by getifaddrs().
| Safety: | |
|---|---|
| Cancellation point | No |
| Interrupt handler | No |
| Signal handler | No |
| Thread | Yes |
getifaddrs(), ifaddrs, ioctl(), malloc(), socket(), sysctl()
![]() |
![]() |
![]() |
![]() |