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

NAME

6       fstrcasecmp - 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       double fstrcasecmp(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 fstrcasecmp function returns a floating point value between 0.0 and
21       FSTRCMP_IDENTICAL.   A  value  of 0.0 means the strings are utterly un-
22       alike.  A value of FSTRCMP_IDENTICAL means the strings  are  identical.
23       A  value  of more than FSTRCMP_THRESHOLD (it lies between 0.0 and FSTR‐
24       CMP_IDENTICAL) would be considered "similar" by most people.
25
26       A value of FSTRCMP_ERROR (always negative) indicates a malloc(3)  fail‐
27       ure.
28

SEE ALSO

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