1idn2_check_version(3)               libidn2              idn2_check_version(3)
2
3
4

NAME

6       idn2_check_version - API function
7

SYNOPSIS

9       #include <idn2.h>
10
11       const char * idn2_check_version(const char * req_version);
12

ARGUMENTS

14       const char * req_version
15                   version string to compare with, or NULL.
16

DESCRIPTION

18       Check IDN2 library version.  This function can also be used to read out
19       the version of the library code used.  See IDN2_VERSION for a  suitable
20       req_version  string,  it corresponds to the idn2.h header file version.
21       Normally these two version numbers match, but if you are using  an  ap‐
22       plication  built  against  an older libidn2 with a newer libidn2 shared
23       library they will be different.
24
25       Return value: Check that the version of the library is at  minimum  the
26       one  given  as  a  string in  req_version and return the actual version
27       string of the library; return NULL if the condition  is  not  met.   If
28       NULL  is  passed to this function no check is done and only the version
29       string is returned.
30

SEE ALSO

32       The full documentation for libidn2 is maintained as a  Texinfo  manual.
33       If  the  info and libidn2 programs are properly installed at your site,
34       the command
35
36              info libidn2
37
38       should give you access to the complete manual.  As an  alternative  you
39       may obtain the manual from:
40
41              https://www.gnu.org/software/libidn/libidn2/manual/
42
43libidn2                          2.3.1.48-1925           idn2_check_version(3)
Impressum