strtransform(3)
π NAME π
okay so this is the strtransform(3) page, bestie, and its whole main-character job is to convert a string into its mapped-to value. that's it. that's the vibe. β¨
π¦ SYNOPSIS π¦
#include <your-opts.h>
cc [...] -o outfile infile.c -lopts [...]
void strtransform(char * dest, char const * src);
πΈ DESCRIPTION πΈ
so here's the tea: every single character in the input string gets mapped, and the mapped-to character gets dropped into the output. iconic behavior, no cap. π
also, the function name is mapped to option_strtransform so it does not conflict with the POSIX name space. very considerate, very demure. π
and yes β the source and destination may be the same. slay.
destβ output stringsrcβ input string
π ERRORS π
none.
literally none. not a single error. the error section is on vacation and living its best life. π«Ά
π SEE ALSO π
the info documentation for the -lopts library is right there if you wanna go deeper, iykyk. π
ao_string_tokenize(3)configFileLoad(3)optionFileLoad(3)optionFindNextValue(3)optionFindValue(3)optionFree(3)optionGetValue(3)optionLoadLine(3)optionMemberList(3)optionNextValue(3)optionOnlyUsage(3)optionPrintVersion(3)optionPrintVersionAndReturn(3)optionProcess(3)optionRestore(3)optionSaveFile(3)optionSaveState(3)optionUnloadNested(3)optionVersion(3)strequate(3)streqvcmp(3)streqvmap(3)strneqvcmp(3)
signed off with the strtransform(3) manual tag and the 2018-08-26 date β mwah πβ¨
π¦ where this page comes from
- debian trixie: libopts25-dev 1:5.18.16-7 Β· GPL-3.0-or-later
- nixpkgs unstable: autogen 5.18.16
- ubuntu questing: libopts25-dev 1:5.18.16-7build1
- ubuntu resolute: libopts25-dev 1:5.18.16-7build2 Β· GPL-3.0-or-later
- ubuntu stonking: libopts25-dev 1:5.18.16-9 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms