ares_library_initialized man page

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 initialization is needed.

Availability

This function was first introduced in c-ares version 1.11.0

See Also

ares_library_init(3), ares_library_cleanup(3)

Info

29 Sep 2016