1strtransform(3) Programmer's Manual strtransform(3)
2
3
4
6 strtransform - convert a string into its mapped-to value
7
8
10 #include <your-opts.h>
11 cc [...] -o outfile infile.c -lopts [...]
12
13 void strtransform(char* dest, char const* src);
14
15
17 Each character in the input string is mapped and the mapped-to charac‐
18 ter is put into the output. This function name is mapped to
19 option_strtransform so as to not conflict with the POSIX name space.
20
21 The source and destination may be the same.
22
23 dest output string
24
25 src input string
26
27
29 none.
30
32 The info documentation for the -lopts library.
33 ao_string_tokenize(3), configFileLoad(3), optionFileLoad(3), option‐
34 FindNextValue(3), optionFindValue(3), optionFree(3), optionGetValue(3),
35 optionLoadLine(3), optionMemberList(3), optionNextValue(3), optionOn‐
36 lyUsage(3), optionProcess(3), optionRestore(3), optionSaveFile(3),
37 optionSaveState(3), optionUnloadNested(3), optionVersion(3), stre‐
38 quate(3), streqvcmp(3), streqvmap(3), strneqvcmp(3),
39
40
41
42 2014-06-10 strtransform(3)