1streqvcmp(3) Programmer's Manual streqvcmp(3)
2
3
4
6 streqvcmp - compare two strings with an equivalence mapping
7
8
10 #include <your-opts.h>
11 cc [...] -o outfile infile.c -lopts [...]
12
13 int streqvcmp(char const * str1, char const * str2);
14
15
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. This function name is mapped to option_streqvcmp so as to not
21 conflict with the POSIX name space.
22
23 str1 first string
24
25 str2 second string
26
27
29 the difference between two differing characters
30
31
33 none checked. Caller responsible for seg faults.
34
36 The info documentation for the -lopts library.
37 ao_string_tokenize(3), configFileLoad(3), optionFileLoad(3), option‐
38 FindNextValue(3), optionFindValue(3), optionFree(3), optionGetValue(3),
39 optionLoadLine(3), optionMemberList(3), optionNextValue(3), optionOn‐
40 lyUsage(3), optionPrintVersion(3), optionPrintVersionAndReturn(3),
41 optionProcess(3), optionRestore(3), optionSaveFile(3), optionSaveS‐
42 tate(3), optionUnloadNested(3), optionVersion(3), strequate(3), stre‐
43 qvmap(3), strneqvcmp(3), strtransform(3),
44
45
46
47 2019-02-05 streqvcmp(3)