Updated: April 19, 2023 |
Free a network interface address
#include <sys/types.h> #include <sys/socket.h> #include <ifaddrs.h> void freeifaddrs( struct ifaddrs * ifap );
The freeifaddrs() function frees the dynamically allocated data returned by getifaddrs().
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | No |
Thread | Yes |