1ARES_VERSION(3)            Library Functions Manual            ARES_VERSION(3)
2
3
4

NAME

6       ares_version - Get the version number of the library
7

SYNOPSIS

9       #include <ares.h>
10
11       const char *ares_version(int *version)
12

DESCRIPTION

14       The  ares_version  function  gets  the  library version as a string and
15       optionally as an integer stored in the version, argument. If you pass a
16       NULL, no integer is attempted to be returned.
17
18       The  integer is built up as 24bit number, with 8 separate bits used for
19       major number, minor number and  patch  number.  This  makes  a  version
20       string  such  as  1.2.3  will  be  returned  as  the hexadecimal number
21       0x010203 (decimal 66051).
22

NOTES

24       This function is not compatible with ares.
25

AUTHOR

27       Daniel Stenberg
28
29
30
31
32                                29 January 2004                ARES_VERSION(3)
Impressum