case_diffs(3)
π case_diffs(3) π
okay bestie, welcome to case_diffs(3) β straight out of the Library Functions Manual and she is short, sweet, and does exactly one thing. no notes. let's go π«Ά
πΈ NAME πΈ
case_diffs β compare strings case-insensitively
π¦ SYNTAX π¦
like literally this is the whole thing:
#include <libowfat/case.h>
int case_diffs(const char* a,const char* b);
she takes two const char* besties named a and b, and hands you back an int. that's it, that's the vibe β¨
π DESCRIPTION π
so case_diffs is basically str_diff's cousin β same energy, same job, same int in return. the one difference (and it's the whole point, iykyk) is that she's not out here being picky about capitalisation.
for her comparison, the letters are all equal in her eyes:
'A'=='a''B'=='b'- ... and so on all the way down π
'Z'=='z'
periodt. uppercase and lowercase are the same girl to her, no cap. π
π₯ SEE ALSO π₯
ok so that's the whole page, bestie β iconic, brief, ate π
. this was the case_diffs(3) page from the Library Functions Manual, and ngl the footer is literally just case_diffs(3) β no version number, no date, nothing else to spill, she's mysterious like that ππ
π¦ where this page comes from
- alpine 3.24: libowfat-doc 0.34-r0 Β· GPL-2.0-only
- debian bookworm: libowfat-dev 0.32-4 Β· GPL-2.0-only
- debian trixie: libowfat-dev 0.32-5 Β· GPL-2.0-only
- nixos 26.05: libowfat 0.34
- nixpkgs unstable: libowfat 0.34
- opensuse-leap 16.0: libowfat-devel 0.33-bp160.1.11 Β· GPL-2.0-only
- opensuse-leap 16.0: libowfat-devel 0.33-bp160.1.11 Β· GPL-2.0-only
- opensuse-leap 16.0: libowfat-devel 0.33-bp160.1.11 Β· GPL-2.0-only
- opensuse-leap 16.0: libowfat-devel 0.33-bp160.1.11 Β· GPL-2.0-only
- ubuntu noble: libowfat-dev 0.32-4.1build1 Β· GPL-2.0-only
- ubuntu questing: libowfat-dev 0.32-5
- ubuntu resolute: libowfat-dev 0.34-2 Β· GPL-2.0-only
- ubuntu stonking: libowfat-dev 0.34-2 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms