strneqvcmp(3)
π strneqvcmp(3) π
okay so bestie, this is the strneqvcmp page from the Programmer's Manual, and it's literally about comparing two strings with an equivalence mapping. periodt. π
β¨ NAME β¨
strneqvcmp β compare two strings with an equivalence mapping π¦
πΈ SYNOPSIS πΈ
#include <your-opts.h>
cc [...] -o outfile infile.c -lopts [...]
int strneqvcmp(char const * str1, char const * str2, int ct);
π DESCRIPTION π
Using a character mapping, two strings are compared for "equivalence". Each input character is mapped to a comparison character, and then the mapped-to characters are compared for the two NUL terminated input strings. The comparison is limited to ct bytes.
Also important, bestie: this function name is mapped to option_strneqvcmp so it doesn't conflict with the POSIX name space. no cap. β¨
str1β first stringstr2β second stringctβ compare length
π₯ RETURN VALUE π₯
the difference between two differing characters π
π ERRORS π
none checked. Caller responsible for seg faults.
π bestie I'm not kidding, none checked β the caller is responsible for seg faults. guard your vibes accordingly.
π SEE ALSO π
The info documentation for the -lopts library.
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)strtransform(3)
signing off from the iconic strneqvcmp(3) page, stamped 2018-08-26 π«Άβ¨ stay mapped, stay equivalence-y, and pls don't segfault on main π
π¦ 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