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(3)  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

SEE ALSO

24       ares_init(3), ares_library_init(3)
25
26
27
28                                29 January 2004                ARES_VERSION(3)
Impressum