1strneqvcmp(3)                 Programmer's Manual                strneqvcmp(3)
2
3
4

NAME

6       strneqvcmp - compare two strings with an equivalence mapping
7
8

SYNOPSIS

10       #include <your-opts.h>
11       cc [...] -o outfile infile.c -lopts [...]
12
13       int strneqvcmp(char const* str1, char const* str2, int ct);
14
15

DESCRIPTION

17       Using  a character mapping, two strings are compared for "equivalence".
18       Each input character is  mapped  to  a  comparison  character  and  the
19       mapped-to  characters  are  compared  for  the two NUL terminated input
20       strings.  The comparison is limited to ct bytes.  This function name is
21       mapped  to  option_strneqvcmp so as to not conflict with the POSIX name
22       space.
23
24       str1   first string
25
26       str2   second string
27
28       ct     compare length
29
30

RETURN VALUE

32       the difference between two differing characters
33
34

ERRORS

36       none checked.  Caller responsible for seg faults.
37

SEE ALSO

39       The info documentation for the -lopts library.
40       ao_string_tokenize(3),  configFileLoad(3),  optionFileLoad(3),  option‐
41       FindNextValue(3), optionFindValue(3), optionFree(3), optionGetValue(3),
42       optionLoadLine(3), optionMemberList(3),  optionNextValue(3),  optionOn‐
43       lyUsage(3),   optionProcess(3),   optionRestore(3),  optionSaveFile(3),
44       optionSaveState(3),  optionUnloadNested(3),   optionVersion(3),   stre‐
45       quate(3), streqvcmp(3), streqvmap(3), strtransform(3),
46
47
48
49                                  2014-06-10                     strneqvcmp(3)
Impressum