Go to main content

man pages section 3: Library Interfaces and Headers

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

ares_freeaddrinfo (3)

Name

ares_freeaddrinfo - Free addrinfo structure allocated by ares functions

Synopsis

#include <ares.h>

void ares_freeaddrinfo(struct ares_addrinfo *ai)

Description

ARES_FREEADDRINFO(3)       Library Functions Manual       ARES_FREEADDRINFO(3)



NAME
       ares_freeaddrinfo - Free addrinfo structure allocated by ares functions

SYNOPSIS
       #include <ares.h>

       void ares_freeaddrinfo(struct ares_addrinfo *ai)

DESCRIPTION
       The ares_freeaddrinfo function frees a struct ares_addrinfo returned in
       result of ares_addrinfo_callback


ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       +---------------+------------------+
       |ATTRIBUTE TYPE | ATTRIBUTE VALUE  |
       +---------------+------------------+
       |Availability   | library/libcares |
       +---------------+------------------+
       |Stability      | Volatile         |
       +---------------+------------------+

SEE ALSO
       ares_getaddrinfo(3),

AUTHOR
       Christian Ammer  Andrew Selivanov <andrew.selivanov@gmail.com>



NOTES
       Source code for open source software components in Oracle  Solaris  can
       be found at https://www.oracle.com/downloads/opensource/solaris-source-
       code-downloads.html.

       This    software    was    built    from    source     available     at
       https://github.com/oracle/solaris-userland.    The  original  community
       source   was   downloaded   from     https://c-ares.haxx.se/download/c-
       ares-1.17.2.tar.gz.

       Further information about this software can be found on the open source
       community website at https://c-ares.haxx.se/.



                                31 October 2018           ARES_FREEADDRINFO(3)