1gnutls_memcmp(3)                    gnutls                    gnutls_memcmp(3)
2
3
4

NAME

6       gnutls_memcmp - API function
7

SYNOPSIS

9       #include <gnutls/gnutls.h>
10
11       int gnutls_memcmp(const void * s1, const void * s2, size_t n);
12

ARGUMENTS

14       const void * s1
15                   the first address to compare
16
17       const void * s2
18                   the second address to compare
19
20       size_t n    the size of memory to compare
21

DESCRIPTION

23       This  function  will operate similarly to memcmp(), but will operate on
24       time that depends only on the size of the string. That is will not  re‐
25       turn early if the strings don't match on the first byte.
26

RETURNS

28       non zero on difference and zero if the buffers are identical.
29

SINCE

31       3.4.0
32

REPORTING BUGS

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

SEE ALSO

45       The  full  documentation  for gnutls is maintained as a Texinfo manual.
46       If the /usr/share/doc/gnutls/ directory does not contain the HTML  form
47       visit
48
49       https://www.gnutls.org/manual/
50
51gnutls                               3.7.2                    gnutls_memcmp(3)
Impressum