Risk-Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

ares_library_initialized - get the initialization state

Availability

This function was first introduced in c-ares version 1.11.0

Description

Returns information if c-ares needs to get initialized.

Name

ares_library_initialized - get the initialization state

Return Value

ARES_ENOTINITIALIZED if not initialized and ARES_SUCCESS if no initialization is needed.

See Also

ares_library_init(3), ares_library_cleanup(3) 29 Sep 2016 ARES_LIBRARY_INITIALIZED(3)

Synopsis

#include <ares.h> int ares_library_initialized(void)

See Also