![]() |
![]() |
![]() |
![]() |
![]() |
This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. |
Free a list of address information structures
#include <sys/types.h> #include <sys/socket.h> #include <netdb.h> void freeaddrinfo( struct addrinfo * ai );
libsocket
Use the -l socket option to qcc to link against this library.
The freeaddrinfo() function frees the given list of addrinfo structures and the dynamic storage associated with each item in the list.
| Safety: | |
|---|---|
| Cancellation point | No |
| Interrupt handler | No |
| Signal handler | No |
| Thread | Yes |
addrinfo, gai_strerror(), getaddrinfo()
![]() |
![]() |
![]() |
![]() |