Go to main content

man pages section 3: Library Interfaces and Headers

Exit Print View

Updated: Wednesday, July 27, 2022
 
 

ares_library_initialized (3)

Name

ares_library_initialized - get the initialization state

Synopsis

#include <ares.h>

int ares_library_initialized(void)

Description

Library Functions Manual                           ARES_LIBRARY_INITIALIZED(3)



NAME
       ares_library_initialized - get the initialization state

SYNOPSIS
       #include <ares.h>

       int ares_library_initialized(void)

DESCRIPTION
       Returns information if c-ares needs to get initialized.

RETURN VALUE
       ARES_ENOTINITIALIZED if not initialized and ARES_SUCCESS if no initial-
       ization is needed.

AVAILABILITY
       This function was first introduced in c-ares version 1.11.0


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


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

SEE ALSO
       ares_library_init(3), ares_library_cleanup(3)



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



                                  29 Sep 2016
                                                   ARES_LIBRARY_INITIALIZED(3)