case_lowers(3)
π 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 π§π
π¦ 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