ustrlwr(3)
β¨ ustrlwr β the Allegro manual, but make it cute β¨
okay so bestie, welcome to ustrlwr, a lil function from the Allegro game programming library that's about to lowercase your whole entire life π
this page lives in section 3 of the manual, and honestly? it's giving lowercase icon behavior.
πΈ NAME πΈ
ustrlwr β replaces all letters with lower case. it's part of the Allegro game programming library, and yes she's as simple as she sounds π
π¦ SYNOPSIS π¦
#include <allegro.h>
char *ustrlwr(char *s);
that's it. that's the whole vibe. one include, one function, one pointer. clean. β¨
π DESCRIPTION π
so here's the tea, bestie: this function goes through s and replaces all the upper case letters with lower case letters. every single one. no cap. π₯
it does NOT touch anything that isn't an upper case letter, it just quietly lowercases the loud ones. main character energy, honestly β she walks in, calms everyone down, and leaves. π
here's the example from the original, verbatim, because we do not edit the holy code:
char buffer[] = "UPPER CASE STRING";
allegro_message(ustrlwr(buffer));
look at that. "UPPER CASE STRING" goes in, and lowercase goodness comes out. the way that allegro_message() is just sitting there ready to show off the glow-up... obsessed π
π RETURN VALUE π
the return value is the value of s. yes literally the same pointer, bestie β she hands you back exactly what you gave her, just... lowercased now. π«Ά
π§ SEE ALSO π§
(that last one is her uppercase sibling, iykyk β they're a matched set fr fr π)
π friendly reminder: this page is Allegro business, so keep the #include <allegro.h> and don't go renaming anything, bestie. the details are the details.
and that's the whole page!! written for Allegro, version 4.4.3, and yes this is ustrlwr(3) once again, signing off like the lowercase legend she is π
β¨ bye bestie, go lowercase something π¦πΈ
π¦ where this page comes from
- fedora 43: allegro-devel 4.4.3.1-18.fc43 Β· Giftware
- fedora 43: allegro-devel 4.4.3.1-18.fc43 Β· Giftware
- fedora 44: allegro-devel 4.4.3.1-20.fc44 Β· Giftware
- fedora 44: allegro-devel 4.4.3.1-20.fc44 Β· Giftware
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms