ares_library_initialized.3 (605B)
1 .\" 2 .\" Copyright (C) 2016 by Daniel Stenberg 3 .\" SPDX-License-Identifier: MIT 4 .\" 5 .TH ARES_LIBRARY_INITIALIZED 3 "29 Sep 2016" 6 .SH NAME 7 ares_library_initialized \- get the initialization state 8 .SH SYNOPSIS 9 .nf 10 #include <ares.h> 11 12 int ares_library_initialized(void) 13 .fi 14 .SH DESCRIPTION 15 Returns information if c-ares needs to get initialized. 16 .SH RETURN VALUE 17 \fIARES_ENOTINITIALIZED\fP if not initialized and \fIARES_SUCCESS\fP if no 18 initialization is needed. 19 .SH AVAILABILITY 20 This function was first introduced in c-ares version 1.11.0 21 .SH SEE ALSO 22 .BR ares_library_init (3), 23 .BR ares_library_cleanup (3)