1gnutls_check_version(3)             gnutls             gnutls_check_version(3)
2
3
4

NAME

6       gnutls_check_version - API function
7

SYNOPSIS

9       #include <gnutls/gnutls.h>
10
11       const char * gnutls_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  the  GnuTLS  Library  version  against the provided string.  See
19       GNUTLS_VERSION for a suitable  req_version string.
20
21       See also gnutls_check_version_numeric(), which provides this  function‐
22       ality as a macro.
23

RETURNS

25       Check  that the version of the library is at minimum the one given as a
26       string in  req_version and return the actual version string of the  li‐
27       brary;  return  NULL if the condition is not met.  If NULL is passed to
28       this function no check is done and only the version string is returned.
29

REPORTING BUGS

31       Report bugs to <bugs@gnutls.org>.
32       Home page: https://www.gnutls.org
33
34
36       Copyright © 2001- Free Software Foundation, Inc., and others.
37       Copying and distribution of this file, with  or  without  modification,
38       are  permitted in any medium without royalty provided the copyright no‐
39       tice and this notice are preserved.
40

SEE ALSO

42       The full documentation for gnutls is maintained as  a  Texinfo  manual.
43       If  the /usr/share/doc/gnutls/ directory does not contain the HTML form
44       visit
45
46       https://www.gnutls.org/manual/
47
48gnutls                               3.7.6             gnutls_check_version(3)
Impressum