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

NAME

6       fwcscmp - fuzzy comparison of two wide-character strings
7

SYNOPSIS

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

DESCRIPTION

16       The fwcscmp() function compares the two wide-character strings, string1
17       and string2.
18

RETURN VALUE

20       The fwcscmp function returns a floating point  value  between  0.0  and
21       FSTRCMP_IDENTICAL.  A value of 0.0 means the two wide-character strings
22       are utterly un-alike.  A value of FSTRCMP_IDENTICAL means the two wide-
23       character  strings are identical.  A value of more than FSTRCMP_THRESH‐
24       OLD (it lies between 0.0 and  FSTRCMP_IDENTICAL)  would  be  considered
25       "similar" by most people.
26
27       A  value of FSTRCMP_ERROR (always negative) indicates a malloc(3) fail‐
28       ure.
29

SEE ALSO

31       fstrcmp(3)
32               fuzzy comparison of two strings
33
34       fwcscmpi(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                                                                    fwcscmp(3)
Impressum