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

REPORTING BUGS

32       Report bugs to <help-libidn@gnu.org>.
33       General guidelines for reporting bugs: https://www.gnu.org/gethelp/
34       Libidn2 home page: https://www.gnu.org/software/libidn2/
35
36
38       Copyright © 2002-2022 Simon Josefsson.
39       Copying and distribution of this file, with  or  without  modification,
40       are  permitted in any medium without royalty provided the copyright no‐
41       tice and this notice are preserved.
42

SEE ALSO

44       The full documentation for libidn2 is maintained as a  Texinfo  manual.
45       If  the  info and libidn2 programs are properly installed at your site,
46       the command
47
48              info libidn2
49
50       should give you access to the complete manual.  As an  alternative  you
51       may obtain the manual from:
52
53              https://www.gnu.org/software/libidn/libidn2/manual/
54
55libidn2                              2.3.3               idn2_check_version(3)
Impressum