streqvcmp(3)
π streqvcmp(3) β the string-equivalence girlie π
okay so this page is from the Programmer's Manual, and it's literally about comparing two strings with an equivalence mapping. no cap, that's the whole main character energy here.
β¨ NAME β¨
streqvcmp β compare two strings with an equivalence mapping.
π SYNOPSIS π
#include <your-opts.h>
cc [...] -o outfile infile.c -lopts [...]
int streqvcmp(char const * str1, char const * str2);
π¦ DESCRIPTION π¦
Using a character mapping, two strings are compared for βequivalenceβ β that's the vibe. Each input character is mapped to a comparison character, and then the mapped-to characters are compared for the two NUL terminated input strings. It's giving character-by-character matchmaking, fr fr.
One important iykyk: this function name is mapped to option_streqvcmp so as to not conflict with the POSIX name space. periodt.
The arguments are iconic and simple:
str1β first stringstr2β second string
π₯ RETURN VALUE π₯
the difference between two differing characters β that's it, that's the return value. π
π¨ ERRORS π¨
π¨ none checked. Caller responsible for seg faults. That's the original energy, bestie β no extra validation promised here. π
π SEE ALSO π
First up: the info documentation for the -lopts library. Then the whole friend group:
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)streqvmap(3)strneqvcmp(3)strtransform(3)
mwah π β page date 2018-08-26, from the Programmer's Manual, for streqvcmp(3). bye bestie π«Ά
π¦ 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