case_diffb(3)
β¨ case_diffb β like, the case-insensitive string comparer bestie π
okay so real talk, this one lives in section 3 of the Library Functions Manual (the library functions girlies, we love her) and she's about to become your new fave for comparing strings without getting all weird about capital letters. π
πΈ NAME πΈ
case_diffb β compare strings case-insensitively
π¦ SYNTAX π¦
#include <libowfat/case.h>
int case_diffb(const void* a,size_t len,const void* b);
π DESCRIPTION π
so case_diffb is basically byte_diff's cooler twin. same energy, same vibe, same job β the one difference (and it's iconic, fr fr) is that when she's comparing, she treats 'A' == 'a', 'B' == 'b', ... all the way down to 'Z' == 'z'. β¨
like. uppercase and lowercase are the same girl to her. she does not care. she does not gatekeep. she compares len bytes of whatever a and b are pointing at and case is simply not the drama. π
π SEE ALSO π
byte_diff(3)β the original, the blueprint, the blueprint-est. go say hi. π«Ά
and that's the whole page bestie!! mwah π
this cutie came to you straight from the Library Functions Manual β no date stamp on this one, she's timeless like that. go forth and compare case-insensitively. slay. π
π¦ 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