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
22       application  built against an older libidn2 with a newer libidn2 shared
23       library they will be different.
24

RETURN VALUE

26       Check that the version of the library is at minimum the one given as  a
27       string  in  req_version  and  return  the  actual version string of the
28       library; return NULL if the condition is not met.  If NULL is passed to
29       this function no check is done and only the version 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.
39
40
41
42libidn2                               0.7                idn2_check_version(3)
Impressum