ares_library_initialized(3)

ares_library_initialized3

Get the initialization state

Usage

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

Overview

Returns information if c-ares needs to get initialized.

Return value

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

Releases

5 releases since Debian 10 (Buster); the text changed 1 time.

  1. 10–12
  2. 13–Arch

Availability

This function was first introduced in c-ares version 1.11.0

From c-ares 1.34.9-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.