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
21       repeated 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),  optionNextValue(3),  optionOnlyUsage(3), optionPro‐
44       cess(3),   optionRestore(3),   optionSaveFile(3),   optionSaveState(3),
45       optionUnloadNested(3),   optionVersion(3),  pathfind(3),  strequate(3),
46       streqvcmp(3), strneqvcmp(3), strtransform(3),
47
48
49
50                                  2009-08-10                      streqvmap(3)
Impressum