1fwcscmpi(3) Library Functions Manual fwcscmpi(3)
2
3
4
6 fwcscmpi - fuzzy comparison of two wide-character strings
7
9 #include <fstrcmp.h>
10 #define FSTRCMPI_IDENTICAL
11 #define FSTRCMPI_THRESHOLD
12 #define FSTRCMPI_ERROR
13 int fwcscmpi(const wchar_t *string1, const wchar_t *string2);
14
16 The fwcscmpi() function compares the two wide-character strings,
17 string1 and string2.
18
20 The fwcscmpi function returns an int value between 0 and FSTRCMPI_IDEN‐
21 TICAL. A value of 0 means the two wide-character strings are utterly
22 un-alike. A value of FSTRCMPI_IDENTICAL means the two wide-character
23 strings are identical. A value of more than FSTRCMPI_THRESHOLD (it
24 lies between 0 and FSTRCMPI_IDENTICAL) would be considered "similar" by
25 most people.
26
27 A value of FSTRCMPI_ERROR (always negative) indicates a malloc(3) fail‐
28 ure.
29
31 fstrcmp(3)
32 fuzzy comparison of two strings
33
34 fwcscmp(3)
35 fuzzy comparison of two wide-character strings
36
37 wcscmp(3)
38 compare two wide-character strings
39
41 fstrcmp version 0.7
42 Copyright (C) 2009 Peter Miller
43 Peter Miller <pmiller@opensource.org.au>
44
45 The comparison code is derived from the fuzzy comparison functions in
46 GNU Gettext 0.17. The GNU Gettext comparison functions were, in turn,
47 derived from GNU Diff 2.7.
48
49 Copyright (C) 1988-2009 Free Software Foundation
50
51
52
53 fwcscmpi(3)