case_lowerb(3)

πŸ“¦
version 0.34 Β· 2 versions
  • 0.34 Β· alpine 3.24, debian bookworm, debian trixie, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking (latest)
  • 0.30 Β· fedora 43, fedora 44, ubuntu jammy
, in alpine 3.24, debian bookworm, debian trixie, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– case_lowerb(3) πŸ’–

okay so bestie, we're in the Library Functions Manual and today's main character is case_lowerb β€” the little function that compares strings case-insensitively. yes, that's the whole vibe. let's go πŸ¦‹


✨ NAME ✨

case_lowerb β€” compare strings case-insensitively πŸ’…


✨ SYNTAX ✨

#include <libowfat/case.h>

void case_lowerb(void* s,size_t len);

that's it. that's the whole signature. no cap. πŸŽ€


✨ DESCRIPTION ✨

so here's the tea, bestie: case_lowerb goes through and converts each 'A' to 'a', 'B' to 'b', ..., all the way down to 'Z' to 'z' in s[0], s[1], ..., s[len].

like, it's literally just uppercasing's lowercase little sister. every capital letter it finds in that run gets flipped down to its lowercase twin. A to a. B to b. C to c. you get the pattern, it's giving alphabet glow-down 🌈

and yes, the page says s[len] β€” we are quoting it exactly, character for character, because that's what the manual says and we do not editorialize on the math. iykyk πŸ’€

it works on a void* s with a size_t len, so it's not picky about what you hand it. lowkey iconic of it honestly πŸ‘‘


✨ SEE ALSO ✨

yeah. it references itself. main character energy fr fr β€” the only thing it wants you to read next is more of it πŸ˜­πŸ’œ


and that's the whole page, bestie!! this one came to you straight out of the Library Functions Manual, and the little footer at the bottom just says case_lowerb(3) β€” no date, no version drama, just the name holding it down at the end like a signature. stay lowercase, stay slay πŸ«ΆπŸŒΈπŸ’–