1fstrcasecmpi(3)            Library Functions Manual            fstrcasecmpi(3)
2
3
4

NAME

6       fstrcasecmpi - fuzzy comparison of two strings ignoring case
7

SYNOPSIS

9       #include <fstrcmp.h>
10       #define FSTRCMP_IDENTICAL
11       #define FSTRCMP_THRESHOLD
12       #define FSTRCMP_ERROR
13       int fstrcasecmpi(const char *string1, const char *string2);
14

DESCRIPTION

16       The  fstrcmp()  function compares the two strings, string1 and string2,
17       ignoring case.
18

RETURN VALUE

20       The fstrcasecmpi function returns an int  value  between  0  and  FSTR‐
21       CMPI_IDENTICAL.   A  value of 0 means the strings are utterly un-alike.
22       A value of FSTRCMPI_IDENTICAL means the strings are identical.  A value
23       of more than FSTRCMPI_THRESHOLD (it lies between 0 and FSTRCMPI_IDENTI‐
24       CAL) would be considered "similar" by most people.
25
26       A value of FSTRCMPI_ERROR (always negative) indicates a malloc(3) fail‐
27       ure.
28

SEE ALSO

30       fstrcasecmp(3)
31               fuzzy comparison of two strings ignoring case
32
33       fstrcmpi(3)
34               fuzzy comparison of two strings
35
37       fstrcmp version 0.7
38       Copyright (C) 2009 Peter Miller
39       Peter Miller <pmiller@opensource.org.au>
40
41       The  comparison  code is derived from the fuzzy comparison functions in
42       GNU Gettext 0.17.  The GNU Gettext comparison functions were, in  turn,
43       derived from GNU Diff 2.7.
44
45       Copyright (C) 1988-2009 Free Software Foundation
46
47
48
49                                                               fstrcasecmpi(3)
Impressum