![]() |
![]() |
![]() |
![]() |
freeifaddrs()
Free a network interface address
Synopsis:
#include <sys/types.h> #include <sys/socket.h> #include <ifaddrs.h> void freeifaddrs( struct ifaddrs * ifap );
Arguments:
- ifap
- A pointer to the linked list of ifaddrs structures to be freed.
Library:
libsocket
Use the -l socket option to qcc to link against this library.
Description:
The freeifaddrs() function frees the dynamically allocated data returned by getifaddrs().
Classification:
| Safety: | |
|---|---|
| Cancellation point | No |
| Interrupt handler | No |
| Signal handler | No |
| Thread | Yes |
See also:
getifaddrs(), ifaddrs, ioctl(), malloc(), socket(), sysctl()
![]() |
![]() |
![]() |
![]() |

![[Previous]](../prev.gif)
![[Contents]](../contents.gif)
![[Index]](../keyword_index.gif)
![[Next]](../next.gif)