Go to main content

man pages section 3: Library Interfaces and Headers

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

ares_destroy_options (3)

Name

ares_destroy_options - Destroy options initialized with ares_save_options

Synopsis

#include <ares.h>

void ares_destroy_options(struct ares_options *options)

Description

ARES_DESTROY_OPTIONS(3)    Library Functions Manual    ARES_DESTROY_OPTIONS(3)



NAME
       ares_destroy_options     -    Destroy    options    initialized    with
       ares_save_options

SYNOPSIS
       #include <ares.h>

       void ares_destroy_options(struct ares_options *options)

DESCRIPTION
       The ares_destroy_options(3) function destroys the options struct  iden-
       tified    by    Ioptions,    freeing    all    memory    allocated   by
       ares_save_options(3).


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


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

SEE ALSO
       ares_save_options(3), ares_init_options(3)

AUTHOR
       Brad House
       Copyright 1998 by the Massachusetts Institute of Technology.



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/.



                                  1 June 2007          ARES_DESTROY_OPTIONS(3)