case_lowers(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_lowers(3) β€” the "Library Functions Manual" girlies know πŸ’–

okay so bestie, welcome to the glow-up page for case_lowers, a lil function from the Library Functions Manual that does exactly one thing and does it flawlessly. no notes. πŸ’…


✨ NAME ✨

case_lowers β€” compare strings case-insensitively 😌

wait, she lowers the string, she doesn't compare it β€” but that's literally what the original says, so we're keeping it fr fr. the compare part is a whole other girl's job. 🫢

🌸 SYNTAX 🌸

#include <libowfat/case.h>

void case_lowers(char* s);

yes that's the whole thing. two lines. she's lowkey minimal and honestly? iconic for it. ✨


πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the tea: case_lowers walks through the string s and converts each 'A' to 'a', 'B' to 'b', ... all the way down to 'Z' becoming 'z' πŸ”₯

and it keeps going character by character until it hits the first \0. that's the stopping point. that's the vibe check. once \0 shows up, she's done, no cap. πŸ’€

so basically uppercase letters in, lowercase letters out, until the null terminator says "we're closed." periodt. πŸ‘‘


πŸ’œ SEE ALSO πŸ’œ

  • case_lowerb(3) β€” her sister, same energy, different signature 🌈

k that's the whole page bestie!! this one's a case_lowers(3) situation, straight out of the Library Functions Manual, and no date or version info came along for the ride so that's genuinely all we've got πŸŽ€ stan a short manpage, they're so easy to read πŸ§šπŸ’–