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

NAME

6       streqvmap - Set the character mappings for the streqv functions
7
8

SYNOPSIS

10       #include <your-opts.h>
11       cc [...] -o outfile infile.c -lopts [...]
12
13       void streqvmap(char from, char to, int ct);
14
15

DESCRIPTION

17       Set  the character mapping.  If the count (ct) is set to zero, then the
18       map is cleared by setting all entries in the map to their index  value.
19       Otherwise, the "From" character is mapped to the "To" character.  If ct
20       is greater than 1, then From and To are incremented and the process re‐
21       peated until ct entries have been set. For example,
22           streqvmap('a', 'A', 26);
23       will  alter the mapping so that all English lower case letters will map
24       to upper case.
25
26       This function name is mapped to option_streqvmap so as to not  conflict
27       with the POSIX name space.
28
29       from   Input character
30
31       to     Mapped-to character
32
33       ct     compare length
34
35

ERRORS

37       none.
38

SEE ALSO

40       The info documentation for the -lopts library.
41       ao_string_tokenize(3),  configFileLoad(3),  optionFileLoad(3),  option‐
42       FindNextValue(3), optionFindValue(3), optionFree(3), optionGetValue(3),
43       optionLoadLine(3),  optionMemberList(3),  optionNextValue(3), optionOn‐
44       lyUsage(3), optionPrintVersion(3), optionPrintVersionAndReturn(3),  op‐
45       tionProcess(3),   optionRestore(3),   optionSaveFile(3),   optionSaveS‐
46       tate(3), optionUnloadNested(3), optionVersion(3),  strequate(3),  stre‐
47       qvcmp(3), strneqvcmp(3), strtransform(3),
48
49
50
51                                  2022-07-20                      streqvmap(3)
Impressum